sa-redis
Soft-Artel Tools: Redis Wrapper on async/await
Last updated 5 days 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 42
Last Day 0
Last Week 18
Last Month 8
Dependencies (3)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |