0.2.2 • Published 10 years ago

redis-eval v0.2.2

Weekly downloads
47
License
MIT
Repository
github
Last release
10 years ago

node-redis-eval Build Status

A small package to help calling lua scripts in Redis. It manages caching the script in the redis instance and caches the sha1 hash locally; also, it checks to see if the redis has already cached this script before sending it.

Usage

Install:

npm install redis-eval --save

In Code:

var redis = require('redis')
  client = redis.createClient(),
  reval = require('redis-eval'),
  script = __dirname + '/myluascript.lua';

reval(client, script, ['key1', 'key2'], ['arg1', 'arg2'], callback);

License

See LICENSE

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

11 years ago