mini redis client written by nodejs for tour, don't use in production
- Basic Command, such as get set
- sub/pub
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
})