npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

node-redis

0.1.7 • Public • Published

node-redis

A redis client.

Usage

var redis = require('node-redis')

var client = redis.createClient(port, host, auth)

client.get('key', function (error, buffer) { ... })

client.multi()
client.lrange('key', 0, -1)
client.lrange('key', [0, -1])
client.exec(function (error, result) { result[0]; result[1] })

client.subscribe('channel')
client.on('message', function (buffer) { ... })
client.on('message:channel', function (buffer) { ... })
client.unsubscribe('channel')

client.end()

Keywords

none

install

npm i node-redis

version

0.1.7

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability