An abstract-level database backed by Redis for Node.js. Version 0.0.5, released as an early-stage library under the Level ecosystem. It implements the abstract-level interface, allowing Redis to be used as a LevelDB-compatible store. Key differentiators: leverages Redis for persistence and scalability, supports callbacks and async/await, and follows the Level API conventions. Suitable for projects that need a Level-like API but with Redis as the backend. Maintenance is active but the package is young; breaking changes may occur.
npm install redis-levelNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic put and get operations with async/await. Note that the `url` is taken from environment or defaults to localhost.
Wrap your Redis options in `{ redis: { ... } }`.Install `npm install redis` alongside `redis-level`.
Use async/await instead of callbacks.
Configure a custom codec if you need to store Buffers or other types.
Ensure Redis is running on localhost:6379 or set REDIS_URL to a valid server.
Use `const { RedisLevel } = require('redis-level')` or `import { RedisLevel } from 'redis-level'`.Run `npm install redis`.