redis-info is a focused JavaScript utility designed to accurately parse the raw string output of the Redis `INFO` command into a structured JavaScript object. This library provides a programmatic way to access detailed Redis server statistics, configuration parameters, and operational metrics. The current stable version, 3.1.0, was published approximately 4-5 years ago, indicating a maintenance-oriented release cadence primarily driven by critical bug fixes or significant changes to the Redis `INFO` command's format itself. Its primary differentiation lies in its single-purpose design, offering a direct and unopinionated conversion of the `INFO` string without coupling to a full Redis client library.
npm install redis-infoVerified import paths — ran on the pinned version, not inferred.
Demonstrates parsing a multi-section Redis INFO string and accessing specific properties from the resulting object.
Manually inspect the parsed output to ensure accuracy. If critical fields are missing or incorrect, consider implementing custom parsing logic or using a more actively maintained Redis client library that integrates up-to-date `INFO` parsing.
Use CommonJS `require` syntax: `const { parse } = require('redis-info');`. If you must use ES Modules, consider dynamic `import()` or ensure your build tooling handles CJS interoperability.Use CommonJS `require` syntax: `const { parse } = require('redis-info');`.Verify the Redis server version and compare its `INFO` output with the `redis-info` parser's behavior. Manually inspect the raw `INFO` string and the parsed object. Consider reporting an issue to the library maintainer or implementing a custom parser for missing fields if using a very recent Redis version.
No dependency data recorded yet.