0.1.0 • Published 8 years ago

evalsha v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

This library provides a wrapper for sending commands to a redis server using EVALSHA.

I wrote this because I was unsatisfied with the API and/or logic of the npm modules currently available (either they didn't return a promise, required the new keyword, or weren't very well tested).

Quickstart

var evalsha = require('evalsha'); var redis = require('redis').createClient();

evalsha(redis, absolutePathToScript, keys, args); // => returns a promise