{"library":"rest-emulator","type":"library","category":null,"description":"rest-emulator (v0.1.3) is a lightweight Express/Connect middleware for mocking REST APIs with configurable endpoints, query-based responses, HTTP method support, response codes, headers, and timeouts. Last published in 2017 with no recent updates. Differentiates from tools like json-server by providing a programmatic middleware approach for integration into existing Express apps, supporting file-based mock structures with presets.","language":"javascript","status":"deprecated","version":"0.1.3","tags":["javascript","rest-emulator","express","connect","rest"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rest-emulator","imports":["import restEmulator from 'rest-emulator'","const restEmulator = require('rest-emulator')","const restInstance = require('rest-emulator')(config); app.use(restInstance.middleware)"]},{"cmd":"yarn add rest-emulator","imports":[]},{"cmd":"pnpm add rest-emulator","imports":[]}],"homepage":"https://github.com/temrdm/rest-emulator","github":"https://github.com/temrdm/rest-emulator","docs":null,"changelog":null,"pypi":null,"npm":"rest-emulator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}