https://github.com/kwoktung/redis
mini redis client in typescript
https://github.com/kwoktung/redis
redis redis-client typescript
Last synced: 4 months ago
JSON representation
mini redis client in typescript
- Host: GitHub
- URL: https://github.com/kwoktung/redis
- Owner: kwoktung
- License: mit
- Created: 2019-06-09T11:51:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-18T04:27:43.000Z (almost 6 years ago)
- Last Synced: 2025-02-17T03:02:43.963Z (4 months ago)
- Topics: redis, redis-client, typescript
- Language: TypeScript
- Homepage:
- Size: 75.2 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
})
```