Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 693 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 693 Bytes

extern-js-redis Build Status

  • Target : Javascript (NodeJS)
  • Library : redis
  • Last tested version : 2.6.0
  • Available on : Github - NPM

Usage

import js.redis.Redis;

class Main
{
  static function main()
  {
    var client = Redis.createClient();
    client.set('key', 'value');
    client.get('key', function(err, reply) trace(reply)); // 'value'
    client.incr('counter');
    client.get('counter', function(err, reply) trace(reply)); // '1'
  }
}