{"library":"respjs","type":"library","category":null,"description":"An implementation of the REdis Serialization Protocol (RESP) for Node.js. Version 4.2.0 is stable, with infrequent releases. It provides encoding and decoding of RESP data (simple strings, errors, integers, bulk strings, arrays, nulls) as buffers. Key differentiators: low-level protocol handling, stream-based parsing, and support for pipelining. Unlike higher-level Redis clients, respjs focuses solely on the wire protocol, making it suitable for building custom Redis clients or tools. It is a dependency of thunk-redis and other libraries.","language":"javascript","status":"active","version":"4.2.0","tags":["javascript","redis","resp","pipelining","Protocol","parallel","stream"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install respjs","imports":["const Resp = require('respjs')","const buf = Resp.decode(buffer, false)","Resp.encodeRequest(['set', 'key', value])"]},{"cmd":"yarn add respjs","imports":[]},{"cmd":"pnpm add respjs","imports":[]}],"homepage":"https://github.com/zensh/resp.js","github":"ssh://git@github.com/zensh/resp.js","docs":null,"changelog":null,"pypi":null,"npm":"respjs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}