Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added a basic README.

  • Loading branch information...
commit 209e0038bab089b4105d524d522222e802c83c9e 1 parent cb2b120
Tim authored September 27, 2011

Showing 1 changed file with 26 additions and 0 deletions. Show diff stats Hide diff stats

  1. 26  README
26  README
... ...
@@ -0,0 +1,26 @@
  1
+node-redis
  2
+==========
  3
+
  4
+A redis client.
  5
+
  6
+Usage
  7
+-----
  8
+
  9
+    var redis = require('node-redis')
  10
+
  11
+    var client = redis.createClient(port, host, auth)
  12
+
  13
+    client.get('key', function (error, buffer) { ... })
  14
+
  15
+    client.multi()
  16
+    client.lrange('key', 0, -1)
  17
+    client.lrange('key', [0, -1])
  18
+    client.exec(function (error, result) { result[0]; result[1] })
  19
+
  20
+    client.subscribe('channel')
  21
+    client.on('message', function (buffer) { ... })
  22
+    client.on('message:channel', function (buffer) { ... })
  23
+    client.unsubscribe('channel')
  24
+
  25
+    client.end()
  26
+

0 notes on commit 209e003

Please sign in to comment.
Something went wrong with that request. Please try again.