@rexfng/redis
v1.5.0
Published
Redis wrapper
Downloads
1
Readme
Redis
Description
Redis is a wrapper for the redis that is promisify by bluebird
Define Environment Variables
Define the follow environment variable. They are all required. | Variable Name | Description | |---------------|-------------| | REDIS_HOST | // sample values: 19324 | | REDIS_PORT | // sample values: redis-19324.c1.us-west-2-2.ec2.cloud.redislabs.com | | REDIS_AUTH_PASS | // sample values: 6X2MOasdfasdfamSY5WCo0 |
Documentation
See Documentation for options and usage
Additional function .scanAsync('pattern')
The method look up redis based on key pattern, returns a promise