🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

node-redis-helper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

node-redis-helper

A lightweight Promise-based wrapper and helper for node Redis.

latest
Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

node-redis-helper

A lightweight Promise-based wrapper and helper for node Redis.

node-redis-helper tries to be a durable way of optaining a client connection. More features soon to come.

Currently undergoing testing, probably shouldn't use :)

Initialization

npm install node-redis-helper
var redisOptions = {
	host: '127.0.0.1',
	port: 6370,
	password: 'chicken'
};
redis = new RedisHelper(redisOptions);

Fetch a client

node-redis-helper Tries to be a

redis.client()
	.then(function(client){
		//use client like normal
		client.set('chicken', 'bessie');
	})
	.catch(function(err){
		console.log('Redis Error',err);
	})

Client Operations

Please check out Node Redis for a full list of operations.

To Do

  • Connection Pooling
  • Evaluate IO Redis
  • More Testing

Keywords

node

FAQs

Package last updated on 25 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts