1.0.1 • Published 7 years ago
ioredis-in-memory v1.0.1
ioredis-in-memory
Yet another in-memory alternative for ioredis. Goal of this lib is to provide full API compatibilty with ioredis. Which can be used to write unit tests or while developing applications.
Usage
const RedisInMemory = require('ioredis-in-memory');
const redis = new RedisInMemory({
data: {
key: 'value'
.
.
.
}
});
// Use it like ioredis
Roadmap
- Basic commands support
- Unit tests for all commands
- Publish compatibility table
- Pipeline support
Credits
This is rewrite of ioredis-mock, hence borrows most of the code from it.
License
Copyright (c) Nilesh Mali. All rights reserved.
Licensed under the MIT License.