A wrapper around node_redis with Promise and TypeScript support.
Fix:
https://github.com/mmkal/handy-redis/compare/v2.3.0...v2.3.1
GEOSEARCH
, fix #324) (#328) a8c88100fhttps://github.com/mmkal/handy-redis/compare/v2.2.2...v2.3.0
addCommand
from redis types; fix #310 (#311) c7eacd19bscan
a better type, Fix 288 (#294) 006dbc91dhttps://github.com/mmkal/handy-redis/compare/v2.2.1...v2.2.2
Reduces package size by about 2/3 - some copies of the full redis commands interface files were accidentally shipped last time.
ci
script to test
so np
automatically cleans before publishing f06bdab2https://github.com/mmkal/handy-redis/compare/v2.2.0...v2.2.1
https://github.com/mmkal/handy-redis/compare/v2.1.0...v2.2.0
https://github.com/mmkal/handy-redis/compare/v2.0.3...v2.1.0
https://github.com/mmkal/handy-redis/compare/v2.0.2...v2.0.3
Fix: ZRANGEBYSCORE, ZREMRANGEBYSCORE, ZREVRANGEBYSCORE and ZCOUNT: allow +inf,-inf, ranges in interval args (redis-doc workaround) (#240 - fixes #30) 0c4a08fd
https://github.com/mmkal/handy-redis/compare/v2.0.1...v2.0.2
https://github.com/mmkal/handy-redis/compare/v2.0.0...v2.0.1
any
s have been replaced with unknown
sexecMulti
is removed in favour of .multi().exec()
, which is promisified.batch
support added (fixes #45).script('LOAD')
and other subcommands added (fixes #221)addNodeRedisCommand
exposed (fixes #176)redis
removed as a dependency. It must be added separatelycreateNodeRedisClient
rather than createHandyClient
WrappedNodeRedisClient
is now preferred to IHandyRedis
client.nodeRedis
preferred to client.redis
Basic usage is identical, aside from the recommended import name:
import { createNodeRedisClient } from 'handy-redis';
(async function() {
const client = createNodeRedisClient();
await client.set('foo', 'bar');
const foo = await client.get('foo');
console.log(foo); // 'bar'
})();
https://github.com/mmkal/handy-redis/compare/v1.8.3...v2.0.0