skyer-mongo-client-component

0.1.1 • Public • Published

skyer-mongo-client-component

npm version

Skyer redis client component.

Install

NPM

$ npm i --save skyer-mongo-client-component

Register

/app/components/mongo_client.component.js

module.exports = require('skyer-mongo-client-component');

Usage

const mongoClient = skyer.componentManager.getComponent('mongoClient');
 
 

hello!

Options

See mongodb options (https://github.com/luin/ioredis/blob/master/API.md#new-redisport-host-options)

Mongodb Api

http://mongodb.github.io/node-mongodb-native/2.2/api/

Licences

MIT

Package Sidebar

Install

npm i skyer-mongo-client-component

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jerrywu