1.2.1 • Published 5 years ago

mini-redis v1.2.1

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

mini-redis

super 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 mini-redis

const Redis = require("mini-redis")
const client = new Redis()

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

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

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago