A lightweight streaming parser for Redis responses, version 0.2.1. Unlike buffer-based parsers, redisparse processes each chunk independently without buffering incomplete data, making it suitable for streaming environments. Its API follows the event-driven pattern of node_redis but adds support for partial replies. Currently in early development (single-digit minor version), not widely adopted, with infrequent releases.
npm install redisparseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a Parser, attach event listeners for replies and errors, execute RESP data.
Ensure you provide complete RESP chunks or implement your own buffering logic when using the parser.
Listen to 'reply partial' to track partial results and accumulate final reply when 'reply' is emitted without a prior partial.
Use correct import: import { Parser } from 'redisparse'.Write your own ambient declarations or use 'any'.
Use dynamic import: const { Parser } = await import('redisparse');Add type: 'module' in package.json, or use .mjs extension, or upgrade Node to >=13.2.
Use import() or switch to ESM context.
Run 'npm install redisparse' and verify the import statement.
No dependency data recorded yet.