is-mysql

0.3.0 • Public • Published

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

Dependents (1)

Package Sidebar

Install

npm i is-mysql

Weekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • charliedowler