open-index/open-npm huggingface dataset:
npm package: @hossny94/mongoosastic
Description: A mongoose plugin that indexes models into elastic search. Based on mongoosastic v4.6.0 by James R. Carr. Added support for mongoose v6.X.X
Author: Mohamed Hossny
Latest version: 1.0.0

# Mongoosastic
Mongoosastic is a [mongoose](http://mongoosejs.com/) plugin that can automatically index your models into [elasticsearch](https://www.elastic.co/).


## Getting started

1. Install the package

```bash
npm i @hossny94/mongoosastic
```

2. Setup your mongoose model to use the plugin

```javascript
var mongoose     = require('mongoose')
  , mongoosastic = require('@hossny94/mongoosastic')
  , Schema       = mongoose.Schema

var User = new Schema({
    name: String
  , email: String
  , city: String
})

User.plugin(mongoosastic)
```

3. Query your Elasticsearch with the `search()` method (added by the plugin)

```javascript
User.search({
  query_string: {
    query: "john"
  }
}, function(err, results) {
  // results here
});

```
npm package: @hosterai/cli
Description: HosterAI CLI
Author: Thomas Papamichail @pointergr
Latest version: 1.0.1

@hosterai/cli
=============

HosterAI CLI

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@hosterai/cli.svg)](https://npmjs.org/package/@hosterai/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@hosterai/cli.svg)](https://npmjs.org/package/@hosterai/cli)
[![License](https://img.shields.io/npm/l/@hosterai/cli.svg)](https://github.com/pointergr/cli/blob/master/package.json)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @hosterai/cli
$ hoster COMMAND
running command...
$ hoster (-v|--version|version)
@hosterai/cli/1.0.1 linux-x64 node-v10.17.0
$ hoster --help [COMMAND]
USAGE
  $ hoster COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`hoster help [COMMAND]`](#hoster-help-command)
* [`hoster new TYPE NAME`](#hoster-new-type-name)
* [`hoster start IMAGES`](#hoster-start-images)
* [`hoster stop [FILE]`](#hoster-stop-file)
* [`hoster update [CHANNEL]`](#hoster-update-channel)

## `hoster help [COMMAND]`

display help for hoster

```
USAGE
  $ hoster help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_

## `hoster new TYPE NAME`

Initialize a domain or a product microservice project

```
USAGE
  $ hoster new TYPE NAME

ARGUMENTS
  TYPE  Microservice type [domain, product]
  NAME  Microservice name
```

## `hoster start IMAGES`

describe the command here

```
USAGE
  $ hoster start IMAGES

ARGUMENTS
  IMAGES  Start one or more docker images
```

## `hoster stop [FILE]`

describe the command here

```
USAGE
  $ hoster stop [FILE]
```

## `hoster update [CHANNEL]`

update the hoster CLI

```
USAGE
  $ hoster update [CHANNEL]
```

_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v1.3.9/src/commands/update.ts)_
<!-- commandsstop -->