1.2.2 • Published 7 years ago

singular-mongoose v1.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Singular Mongoose

Mongoose module for singular application.

Install

npm i singular-mongoose

Usage

Usage example:

const Singular = require('singular');

const app = new Singular({
    config: {
        mongoose: {
            host: 'localhost',
            port: 27017,
            base: 'test',
        },
    },
});

app.module(require('singular-mongoose'));

app.inject('mongoose', (mongoose) => {
   // ... 
});

License

MIT.

1.2.2

7 years ago

1.1.2

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago