Redis-Proto
A super-lightweight Redis Protocol Encoder and Decoder in Javascript.
Installation
npm install --save redis-proto
Usage
const encoded = const decoded = console // ['SET', 'KEY', 'VALUE'] for const entry of console // ['SET', 'KEY', 'VALUE']
API
: stringexport function decode(content: Buffer | string): Array<any>export function *decodeGen(content: Buffer | string): Generator<any, void, void>
License
This project is licensed under the terms of MIT License. See the LICENSE file for more info.