{"library":"rest-emulator-whyfly","type":"library","category":null,"description":"A lightweight middleware for Express and Connect to emulate REST APIs for development and testing. Version 0.0.4 provides a simple configuration-driven approach to mock HTTP endpoints with support for GET, POST, query parameters, custom status codes, and timeouts. Supports modular mock file structures and presets for different response scenarios. Suitable for frontend development without a live backend, but limited to basic REST emulation without advanced features like dynamic responses, validation, or state management.","language":"javascript","status":"active","version":"0.0.4","tags":["javascript","rest-emulator","express","connect","rest"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rest-emulator-whyfly","imports":["const restEmulator = require('restEmulator');","const restEmulator = require('restEmulator'); app.use(restEmulator(config));","module.exports = { '/api/users': { data: [] } };"]},{"cmd":"yarn add rest-emulator-whyfly","imports":[]},{"cmd":"pnpm add rest-emulator-whyfly","imports":[]}],"homepage":"https://github.com/whyflyru/rest-emulator","github":"https://github.com/whyflyru/rest-emulator","docs":null,"changelog":null,"pypi":null,"npm":"rest-emulator-whyfly","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}