Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kwoktung/redis

mini redis client in typescript
https://github.com/kwoktung/redis

redis redis-client typescript

Last synced: 11 days ago
JSON representation

mini redis client in typescript

Awesome Lists containing this project

README

        

# 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
})
```