ioredis-mock

Emulates ioredis by performing all operations in-memory.

MIT License

Downloads
2.8M
Stars
326
Committers
91

Bot releases are hidden (Show)

ioredis-mock - v1.4.0

Published by stipsan over 8 years ago

Features

  • added hmget command
  • added rename command
  • added append command

Bugfixes

  • performance penalties for using delete (#45)
ioredis-mock - v1.3.0

Published by stipsan over 8 years ago

Features

  • added exists command.
  • added time command.
  • added getset command.
ioredis-mock - v1.2.0

Published by stipsan over 8 years ago

Features

  • added incrby and decrby commands (#34).

Documentation

  • compat.md now links to redis docs for easy lookup.
ioredis-mock - v1.1.1

Published by stipsan over 8 years ago

  • #30 Fix regression in v1.1.0 that broke the whole module (sorry!).
ioredis-mock - v1.1.0

Published by stipsan over 8 years ago

  • refactored to Bluebird promises.
  • node style callbacks supported, like in ioredis.
  • added del and decr.
ioredis-mock - v1.0.6

Published by stipsan over 8 years ago

  • added compat table.
  • added npm preversion and prepublish scripts to prevent easy maintenance mistakes.
ioredis-mock - v1.0.5

Published by stipsan over 8 years ago

  • updated readme
ioredis-mock - v1.0.4

Published by stipsan over 8 years ago

  • 100% test coverage
  • srem and sadd accepts multiple items
  • added set and get commands
ioredis-mock - v1.0.3

Published by stipsan over 8 years ago

  • setup CircleCI to cover latest stable node releases.
  • incr didn't persist changes to data.
ioredis-mock - v1.0.2

Published by stipsan over 8 years ago

  • Setup travis CI and AppVeyor integrations.
  • Added tests for exec, hget, hset, hsetnx and incr.
  • Setup coveralls and codeclimate integrations.
  • Fixed broken hset implementation.
ioredis-mock - v1.0.1

Published by stipsan over 8 years ago

  • lodash was missing in the package.json dependencies
  • fixes to documentation
  • added tonicExample
ioredis-mock - Initial release

Published by stipsan over 8 years ago

Supported operations:

  • Integers
    • incr
  • Hashing
    • hset
    • hget
    • hgetall
    • hsetnx
    • hmset
    • hvals
  • Lists
    • sadd
    • srem
    • smembers
    • sismember
  • Transaction
    • multi
    • exec