import redisifier from 'redisifier'
const client = redisifier({port, host, password, options}, [callback])
Without port and host entry client will try to connect localhost.
Sets simple key value pair. Returns OK
Gets key-value pair. Returns Key-Value
Sets hash (object). Returns OK.
Gets hash.
Sets an list item and pushes the existing. Returns length of list.
Gets list items, index is set to -1 for default which means everything will return. Index can be set to any.
Creates set, returns length.
Gets the elements of provided key.
Checks if the key exists. Returns true or false;
Deletes the provided key. Returns the length of deleted item.
Sets to a key expire time. Returns number of keys which expired time setted.
This project depends on great library node-redis