thin-redis
v0.11.2
Published
Redis/Valkey client for Node.js and Cloudflare Workers
Maintainers
Readme
thin-redis
Redis/Valkey client for Node.js and Cloudflare Workers.
- Modular design: choose which commands you need
- Impeccable TypeScript support
- Runtime type validation with
@sinclair/typebox - Install
@arrowood.dev/socketfor Node.js support - Binary values with
sendRaw - Secure connection with TLS and Authentication
- RESP2 parser / serializer
Supported features
Most commands are not implemented yet.
Supported features include:
- [x] CRUD operations
- [ ] Pub/Sub (basic)
- [ ] Streams (basic)
- [ ] JSON (basic)
- [ ] Hashes (basic)
- [ ] Sets (basic)
- [ ] Sorted sets (basic)
- [ ] Full-text search (basic)
Commands
Contributions welcome! Only the commands I've needed so far are implemented.
- BZPOPMAX
- BZPOPMIN
- DECR
- DECRBY
- DEL
- EXPIRE
- FLUSHALL
- FT.CREATE
- FT.SEARCH
- GET
- GETEX
- HGET
- HSET
- INCR
- INCRBY
- JSON.GET
- JSON.SET
- KEYS
- PING
- PUBLISH
- SADD
- SCARD
- SDIFF
- SET
- SINTER
- SISMEMBER
- SMEMBERS
- SPOP
- SREM
- SUNION
- XACK
- XADD
- XDEL
- XGROUP.CREATE
- XREAD
- XREADGROUP
- ZADD
- ZREM
Thanks
This package is a fork of redis-on-workers by @kane50613.
