fastredis
v0.6.2
Published
Fast node wrapper around hiredis to get data as fast as possible
Downloads
4
Readme
fastredis-node
Node extension that wraps hiredis. Because Node is already good at doing I/O, fastredis-node only provides bindings to the protocol parser. It provides a fast sync GET operation.
Install
Install with NPM:
npm install fastredis
This requires:
gcc
/g++
4.8 or newer.
Usage
fastredis-node works out of the box.
var fastredis = require("fastredis");
var redis = fastredis();
// Select database 2
redis.select(2);
// Get some key
var data = redis.get('my_awesome_key');
License
This code is released under the BSD license, after the license of hiredis.