0.3.0 • Published 11 years ago
is-mysql v0.3.0
is-mysql

Check if a mysql is running
See the dbs module for more database types.
Install
$ npm install --save is-mysqlUsage
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
#=> UpLicense
MIT © Charlie Dowler