Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

redic

0.0.2 • Public • Published

redic.js

Inspired from Redic

usage

var redic = require('redic');
var client = redic.connect(10001, 'localhost');
 
client.call(['AUTH', 'test'], function(err, res) {
    console.log(err, res);
 
    client.call(['SET', 'foo', 'bar'], function(err, res) {
        client.call(['GET', 'foo'], function(err, res) {
            console.log(err, res);
        
            client.call(['QUIT']);
        });
    });
});

why?

an initial attempt for a simpler Redis client for node.

roadmap

  • remove hiredis? (because of compatibility with node 0.11.x)
  • more testing

license

MIT

Keywords

install

npm i redic

Downloadsweekly downloads

2

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability