https://github.com/emschwartz/redis-lua-types
Type definitions for Redis Lua scripts for use with TypeScriptToLua
https://github.com/emschwartz/redis-lua-types
Last synced: 4 months ago
JSON representation
Type definitions for Redis Lua scripts for use with TypeScriptToLua
- Host: GitHub
- URL: https://github.com/emschwartz/redis-lua-types
- Owner: emschwartz
- License: mit
- Created: 2020-12-04T18:33:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-04T18:35:12.000Z (over 4 years ago)
- Last Synced: 2025-02-16T10:36:23.115Z (4 months ago)
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# redis-lua-types
This is a work-in-progress set of TypeScript definitions for [Redis scripts](https://redis.io/commands/eval) for use with [TypeScriptToLua](https://github.com/TypeScriptToLua/TypeScriptToLua).
TypeScriptToLua makes it easier to write and maintain Lua scripts by compiling them from TypeScript.
## Caveats
- Some commands are not available in all versions of Redis. Currently, these type definitions do not differentiate features available in specific versions.
- The type definitions are based on reading the [Redis command docs](https://redis.io/commands). They have not all been tested so it is possible that some may have incorrect return types. (If you find such a bug, please submit a PR to fix it!)## Contributing
PRs are welcome to add support for other Redis commands!