A high-performance Redis client for Node.js built on top of the hiredis C async library, providing near-native speed for pipelining and raw commands. Version 2.2.6 is the latest stable release, with infrequent updates. It supports ES6 promises via rawCallAsync, automatic reconnection, and all Redis commands including PUB/SUB and MONITOR. Unlike ioredis or node-redis, it focuses on minimal overhead and simplicity, making it suitable for high-throughput production environments. The driver has been battle-tested at 30k ops/sec per instance. Ships TypeScript definitions.
npm install redis-fast-driverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Redis client, connects, performs SET and GET commands, and closes the connection.
Manually cast types as needed, e.g., using parseInt() on GET results for numeric values that were not set via INCR.
Set `doNotRunQuitOnEnd: true` if you don't want the driver to send QUIT on end().
For Promise support, use `rawCallAsync` instead of `rawCall`. Callbacks continue to work.
Run `npm install hiredis` alongside the driver.
Use `import Redis from 'redis-fast-driver'` or `const Redis = require('redis-fast-driver')`.Ensure Redis server is running and accessible. Check host, port, and any firewall rules.