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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    2
    • latest

Version History

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

Package Sidebar

Install

npm i is-mysql

Weekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • charliedowler