0.0.2 • Published 11 years ago
mongoose-connectionstate v0.0.2
node-mongoose-connectionstate
a little gateway to mongoose state
Installation
$ npm install mongoose-connectionstate
Usage
var STATES = require('mongoose-connectionstate');
console.log(STATES);
console.log(STATES.disconnected);
console.log(STATES.connected);
console.log(STATES.connecting);
console.log(STATES.disconnecting);
console.log(STATES.uninitialized);
License
MIT