This package has been deprecated

Author message:

Not maintained, please use ioredis-mock instead

ioredis-in-memory
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

ioredis-in-memory

dependencies Status devDependencies Status Code Climate Test Coverage Issue Count npm npm Travis

NPM NPM

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.

Package Sidebar

Install

npm i ioredis-in-memory

Weekly Downloads

47

Version

1.0.1

License

MIT

Last publish

Collaborators

  • nileshmali