Skip to content

lcavero/RedisAdapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-redis-adapter

Add extra functionality to the node redis library.

Install with:

npm install node-redis-adapter

Usage Example

You should simply require the adapter by specifying the prefix of the application and letting it do the rest.

var redis = require('redis');
var redis_client = redis.createClient();
var redis_adapter = require("node-redis-adapter")(redis_client, "myapp");

Prefix

The library allows you to add a prefix to the redis variables so they can not interfere with those of other applications.

Once indicated the prefix in the requirement, it is added automatically.

Null and undefined

The library autoparse the stringify 'null', and 'undefined' values to the real null and undefined values.

About

A library to improves the node redis client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages