{"library":"redis-eval-mock","type":"library","category":null,"description":"A mock of Redis EVAL functionality for testing Lua scripts in Node.js. Version 1.0.1, last updated in 2019, with no active development. It integrates with existing redis mocks like redis-mock and provides mock implementations of cjson and cmsgpack libraries. It allows testing Lua scripts without a real Redis server, but note that evalsha always throws NOSCRIPT as there is no script cache. The package ships TypeScript types and has a peer dependency on @types/redis. It is a niche testing utility, not updated recently.","language":"javascript","status":"maintenance","version":"1.0.1","tags":["javascript","redis","lua","eval","mock","test","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install redis-eval-mock","imports":["import mockEval from 'redis-eval-mock'","import mockEval from 'redis-eval-mock'","import type { Function } from ''; // Not exported"]},{"cmd":"yarn add redis-eval-mock","imports":[]},{"cmd":"pnpm add redis-eval-mock","imports":[]}],"homepage":"https://github.com/plsmphnx/redis-eval-mock#readme","github":"https://github.com/plsmphnx/redis-eval-mock","docs":null,"changelog":null,"pypi":null,"npm":"redis-eval-mock","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}