Redis client library for PureScript. This library depends on the npm library ioredis. To use this library, you must manually install ioredis.
For compatibility reasons with raw redis protocol this library mutates globaly response type of javascript hgetall
method to:
Array { key ∷ ByteString, value ∷ ByteString }
If you provide better way to handle this (custom method) I would happily merge it...
Please run redis-server
on port 43210 with clear redis database - test suite refuse to run if db is no empty.
Basic workflow can look like this:
redis-server --port 43210 &
and running tests with db cleanup can be done with:
echo flushdb | redis-cli -p 43210 | pulp test
This library started as a fork of TinkerTravel/purescript-redis
which is not maintained any more.