open-index/open-npm huggingface dataset:
npm package: @mongodb-js/zstd-darwin-arm64
Description: This is the **aarch64-apple-darwin** binary for `@mongodb-js/zstd`
Latest version: 1.2.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@mongodb-js/zstd-darwin-arm64`

This is the **aarch64-apple-darwin** binary for `@mongodb-js/zstd`
npm package: @mongodb-js/zstd-darwin-x64
Description: This is the **x86_64-apple-darwin** binary for `@mongodb-js/zstd`
Latest version: 1.2.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@mongodb-js/zstd-darwin-x64`

This is the **x86_64-apple-darwin** binary for `@mongodb-js/zstd`
npm package: @mongodb-js/zstd-linux-arm64-gnu
Description: This is the **aarch64-unknown-linux-gnu** binary for `@mongodb-js/zstd`
Latest version: 1.2.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@mongodb-js/zstd-linux-arm64-gnu`

This is the **aarch64-unknown-linux-gnu** binary for `@mongodb-js/zstd`
npm package: @mongodb-js/zstd-linux-arm64-musl
Description: This is the **aarch64-unknown-linux-musl** binary for `@mongodb-js/zstd`
Latest version: 1.2.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@mongodb-js/zstd-linux-arm64-musl`

This is the **aarch64-unknown-linux-musl** binary for `@mongodb-js/zstd`
npm package: @mongodb-js/zstd-linux-x64-gnu
Description: This is the **x86_64-unknown-linux-gnu** binary for `@mongodb-js/zstd`
Latest version: 1.2.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@mongodb-js/zstd-linux-x64-gnu`

This is the **x86_64-unknown-linux-gnu** binary for `@mongodb-js/zstd`
npm package: @mongodb-js/zstd-linux-x64-musl
Description: This is the **x86_64-unknown-linux-musl** binary for `@mongodb-js/zstd`
Latest version: 1.2.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@mongodb-js/zstd-linux-x64-musl`

This is the **x86_64-unknown-linux-musl** binary for `@mongodb-js/zstd`
npm package: @mongodb-js/zstd-win32-x64-msvc
Description: This is the **x86_64-pc-windows-msvc** binary for `@mongodb-js/zstd`
Latest version: 1.2.2
Deprecated: This package is no longer maintained.  Please use @mongodb-js/zstd@2.x instead.

# `@mongodb-js/zstd-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `@mongodb-js/zstd`
npm package: @mongodb-model/app
Description: app
Author: Ericson S. Weah
Latest version: 0.0.100021

# DB Query

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/app 

```
 or 

```bash

$ npm i @mongodb-model/app

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/app');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/app') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/base
Description: base
Author: Ericson S. Weah
Latest version: 0.0.10

# Base 

Base is a duplex stream, specifically a Transform stream with some functionalities added. Primarily it uses full power of the NodeJs Transform Stream API. In other words, everything you can do with NodeJs Transform API you can do with base! Base is centrally very highly event driven.

### Installation

```bash
$ yarn add @mongodb-model/base

```
 or 

```bash

$ npm i @mongodb-model/base

```

### Simple Usage Examples


#### Making api request (http request)
```javascript
 const Base = require('@mongodb-model/base');
 const base = new Base();
 base.apiGet(); //base.apiGet(your api endpoint)
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```

#### By extension

```javascript
 class MyWonderfulClass extends require('@mongodb-model/base') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```

#### Author's Info
Website|NPM|Github|Gitlab|Blog|LinkedIn|Facebook|Twitter|Instagram|
--- | --- | --- | --- | --- | --- | --- |--- |--- |
[Website](https://www.ericsonsweah.com/dashboard)|[NPM](https://www.npmjs.com/org/mongodb-model)|[Github](https://github.com/ericsonweah)|[Gitlab](https://gitlab.com/ericsonweah)|[Blog](https://www.ericonsweah.dev)|[LinkedIn](https://www.linkedin.com/in/ericson-weah-b03600210)|[Facebook](https://www.facebook.com/Eric.S.Weah)|[Twitter](https://twitter.com/EricsonWeah1)|[Instagram](https://www.instagram.com/ericsonweah/)|
npm package: @mongodb-model/cli-command
Description: cli-command
Author: Ericson S. Weah
Latest version: 0.0.0

# DB Query

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/cli-command 

```
 or 

```bash

$ npm i @mongodb-model/cli-command

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/cli-command');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/cli-command') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/db-migrate
Description: db-migrate
Author: Ericson S. Weah
Latest version: 0.0.10

# Base

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/db-migrate 

```
 or 

```bash

$ npm i @mongodb-model/db-migrate

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/db-migrate');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/db-migrate') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/db-migration
Description: db-migration
Author: Ericson S. Weah
Latest version: 0.0.10

# Base

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/schema 

```
 or 

```bash

$ npm i @mongodb-model/schema

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/schema');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/schema') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/db-schema
Description: db-schema
Author: Ericson S. Weah
Latest version: 0.0.10

# DB Query

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/db-schema 

```
 or 

```bash

$ npm i @mongodb-model/db-schema

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/db-schema');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/db-schema') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/error
Description: error
Author: Ericson S. Weah
Latest version: 0.0.10

# DB Query

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/error 

```
 or 

```bash

$ npm i @mongodb-model/error

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/error');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/error') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/http-controller
Description: http-controller
Author: Ericson S. Weah
Latest version: 0.0.1

# DB Query

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/http-controller 

```
 or 

```bash

$ npm i @mongodb-model/http-controller

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/http-controller');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/http-controller') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/http-route
Description: http-route
Author: Ericson S. Weah
Latest version: 0.0.0

# DB Query

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/http-route 

```
 or 

```bash

$ npm i @mongodb-model/http-route

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/http-route');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/http-route') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/http-route-maker
Description: http-route-maker
Author: Ericson S. Weah
Latest version: 0.0.0

# DB Query

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/http-route-maker 

```
 or 

```bash

$ npm i @mongodb-model/http-route-maker

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/http-route-maker');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/http-route-maker') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/lib
Description: lib
Author: Ericson S. Weah
Latest version: 0.0.10

# Lib

 Standalone lib module

### Installation

```bash
$ yarn add @mongodb-model/lib 

```
 or 

```bash

$ npm i @mongodb-model/lib

```

### Simple Usage Example

```bash
 const {readdirRecursive} = require('@mongodb-model/lib');
 readdirRecursive('your_directory_path')
```
npm package: @mongodb-model/man
Description: man
Author: Ericson S. Weah
Latest version: 0.0.10

# Man

Man is the man page for the mongodb model. If you are not building a cli application, then you most likely do not need it. Man is a duplex stream, specifically a Transform stream with some functionalities added. Primarily, it uses full power of the NodeJs Transform Stream API. In other words, everything you can do with NodeJs Transform API you can do with cli! Cli is centrally very highly event driven. Its common use is by extension or by using object destruction to get the instance methods needed.

### Installation

```bash
$ yarn add @mongodb-model/man

```
 or 

```bash

$ npm i @mongodb-model/man

```

### Simple Usage Examples


#### Making api request (http request)
```javascript
const CLI = require('@mongodb-model/man');
const cli = new CLI();
cli.apiGet(); //base.apiGet(your api endpoint)
cli.on('apiGet', data => console.log(data));
cli.on('apiGet-error', error => console.error(error));
 
```

#### By extension

```javascript
class MyWonderfulClass extends require('@mongodb-model/man') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
};

```

#### Basic usage example
```javascript

// in a javascript file: index.js 

const Man = require('@mongodb-model/man');

// get terminal input string values 
const command = (index = 0)  => process.argv[index];

// using object destruction to get the man method on the instance
const {man} = new Man 

// feed the terminal input string values (first command) to the man method.

// if the string values match 'man', 'help', etc., man will ouput mongodb model man page.
man(command(2))

// To see this you have run your file with command like this in your terminal: 'node index.js man'

```

#### Author's Info
Website|NPM|Github|Gitlab|Blog|LinkedIn|Facebook|Twitter|Instagram|
--- | --- | --- | --- | --- | --- | --- |--- |--- |
[Website](https://www.ericsonsweah.com/dashboard)|[NPM](https://www.npmjs.com/org/mongodb-model)|[Github](https://github.com/ericsonweah)|[Gitlab](https://gitlab.com/ericsonweah)|[Blog](https://www.ericonsweah.dev)|[LinkedIn](https://www.linkedin.com/in/ericson-weah-b03600210)|[Facebook](https://www.facebook.com/Eric.S.Weah)|[Twitter](https://twitter.com/EricsonWeah1)|[Instagram](https://www.instagram.com/ericsonweah/)|
npm package: @mongodb-model/method
Description: method
Author: Ericson S. Weah
Latest version: 0.0.10

# Base

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/method 

```
 or 

```bash

$ npm i @mongodb-model/method

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/method');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/method') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/schema
Description: schema
Author: Ericson S. Weah
Latest version: 0.0.10

# Base

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/schema 

```
 or 

```bash

$ npm i @mongodb-model/schema

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/schema');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/schema') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/socket
Description: socket
Author: Ericson S. Weah
Latest version: 0.0.10001

# Base

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/socket 

```
 or 

```bash

$ npm i @mongodb-model/socket

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/socket');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/socket') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```
npm package: @mongodb-model/tcp-controller
Description: tcp controller
Author: Ericson S. Weah
Latest version: 0.0.10

# DB Query

 Standalone base module extending the NodeJs Transform API with few other functionalities added

### Installation

```bash
$ yarn add @mongodb-model/http-controller 

```
 or 

```bash

$ npm i @mongodb-model/http-controller

```

### Simple Usage Example

```bash
 const Base = require('@mongodb-model/http-controller');
 const base = new Base();
 base.apiGet();
 base.on('apiGet', data => console.log(data));
 base.on('apiGet-error', error => console.error(error));
 
```
or 
```bash
 class MyWonderfulClass extends require('@mongodb-model/http-controller') {

    constructor(...arrayOfObjects) {

    super({ objectMode: true, encoding: "utf-8", autoDestroy: true });

    arrayOfObjects.forEach(option => {
        if(Object.keys(option).length > 0){
            Object.keys(option).forEach((key) => { if(!this[key]) this[key] = option[key];})
        }
    });

    this.autobind(MyWonderfulClass);
    this.autoinvoker(MyWonderfulClass);
    this.setMaxListeners(Infinity);
  }
 };
 
```