0.3.0 • Published 10 years ago

is-mysql v0.3.0

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

is-mysql NPM version Build Status Dependency Status

Check if a mysql is running

See the dbs module for more database types.

Install

$ npm install --save is-mysql

Usage

Node.js
var isMysql = require('is-mysql');

// Callback
isMysql(function(db) {
  console.log(db.running);
  //=> true
});

// Promise
isMysql().then(function(db) {
  console.log(db.type);
  //=> mysql
});

CLI

$ npm install -g is-mysql
$ is-mysql
#=> Up

License

MIT © Charlie Dowler

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago