How to use redis-info - 2 common examples

To help you get started, we’ve selected a few redis-info examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Janpot / fantastiq / lib / Queue.js View on Github external
.then(function () {
      return Promise.all([
        this.stat(),
        this._call(this._client, 'info').then(redisInfo.parse)
      ]);
    })
    .spread(function (stats, info) {
github cpsubrian / redis-explorer / src / utils / db.js View on Github external
this.client.INFO((err, result) => {
      if (err) return cb(err)
      try {
        let info = redisInfo.parse(result)
        return cb(null, info)
      } catch (e) {
        return cb(e)
      }
    })
  }

redis-info

Info output parser for Redis

MIT
Latest version published 3 years ago

Package Health Score

50 / 100
Full package analysis

Popular redis-info functions

Similar packages