Node.js client library for the nutcracker.

npm install nutcracker
1 downloads in the last day
4 downloads in the last week
20 downloads in the last month

nutcracker - a node.js nutcracker(twemproxy) client

NPM version Build Status Dependency Status

nutcracker has a limitation on available commands (e.g., "info", "keys" and more).

So you cannot use node_redis as it is. This module wraps these unavailable commands, and if these commands were called, return warning message and errors.


npm install nutcracker


nutcracker = require "nutcracker"
client = nutcracker.createClient(22121, "")

client.set("string key", "string val", nutcracker.print)
client.keys("*", nutcracker.print)
# => Error: Error: nutcracker: cannot use keys command
# => false
npm loves you