0.2.0 • Published 10 years ago

dbs v0.2.0

Weekly downloads
9
License
MIT
Repository
github
Last release
10 years ago

dbs NPM version Build Status Dependency Status

List common databases that are running

Install

$ npm install --save dbs

Usage

Node.js
var dbs = require('dbs');

// Promise
dbs().then(function(databases) {
  databases.forEach(function(db) {
      console.log(db.type);
      //=> mongo
      console.log(db.running);
      //=> true
  });
});

CLI

$ npm install --global dbs
$ dbs
#=> mongo is running

License

MIT © Charlie Dowler