Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Redis client for Node.js. Fast, non-blocking and lightweight.

branch: master
README
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()

Something went wrong with that request. Please try again.