mysqlinfo

Access mysqladmin and extract data as Object

npm install mysqlinfo
1 downloads in the last week
4 downloads in the last month

Nodejs Get mysql stats (for linux)

This module access mysqladmin and provide all infos as an object

Ex.:

var mysqlinfo = require('mysqlinfo');

mysqlinfo.on('update', function(d) { console.log(d); });
mysqlinfo.update();

By defqult it use 'root' but you can specify a user :

var mysqlinfo = require('mysqlinfo');

mysqlinfo.on('update', function(d) { console.log(d); });
mysqlinfo.update('userTest');
npm loves you