is-redis
0.1.0 • Public • Published is-redis
Check if a redis is running
See the dbs module for more database types.
Install
$ npm install --save is-redis
Usage
Node.js
var isRedis = require('is-redis');
isRedis(function(db) {
console.log(db.running);
});
isRedis().then(function(db) {
console.log(db.type);
});
CLI
$ npm install -g is-redis
License
MIT © Charlie Dowler
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.0
4
Version History
- VersionDownloads (Last 7 Days)
- 0.1.0
4
Package Sidebar
Install
Weekly Downloads