sa-redis
Soft-Artel Tools: Redis Wrapper on async/await
Last updated 6 months ago by soft-artel .
ISC · Repository · Original npm · Tarball
$ cnpm install sa-redis 
SYNC missed versions from official npm registry.

Soft-Artel Tools: Redis Wrapper on async/await

Create Connection:

let cache = await SARedis.connect( config );

Close Connection:

await cache.end();

cache.keys( );

let res = await cache.keys( keysMask = "*" )

Get keys by mask (or all) from Redis as [ "Key1", "Key2", ... ]

  • keysMask : "*", // String
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 9
Dependencies (3)
Dev Dependencies (0)
None

Copyright 2014 - 2018 © taobao.org |