dbs

0.2.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    3
  • 0.1.0
    0

Package Sidebar

Install

npm i dbs

Weekly Downloads

3

Version

0.2.0

License

MIT

Last publish

Collaborators

  • charliedowler