1.2.1 • Published 5 years ago

iredis v1.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

iredis

mini redis client written by nodejs for tour, don't use in production

completed feature

  1. Basic Command, such as get set
  2. sub/pub

usage

npm i iredis

const Redis = require("iredis")
const client = new Redis()

client.set('key', 'value');

client.subscribe('channel')
client.on('channel', function(data) {
    // do something with data
})