1.0.1 • Published 7 years ago

ioredis-in-memory v1.0.1

Weekly downloads
22
License
MIT
Repository
github
Last release
7 years ago

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.