There is a class that maps to each Redis type, with methods for each
Redis API command.

Note that calling new does not imply it's actually a "new" value - it just
creates a mapping between that object and the corresponding Redis data
structure, which may already exist on the redis-server.

var redis_objects = require('redis-objects');
var redis = require('redis');
// This sets it up globally:
redis_objects.connect(redis.createClient());
// You can also set it when creating a new redis object:
var newValue = new redis_objects.Value('testKey', redis.createClient(6379));