{"library":"fakerest","type":"library","category":null,"description":"A browser library that intercepts AJAX calls to mock a REST server based on JSON data. Version 4.2.1 includes TypeScript types and supports MSW, fetch-mock, and Sinon for interception. It enables client-side testing of SPA REST clients without a live server by patching XMLHttpRequest or fetch. Differentiators include out-of-box support for multiple mocking libraries, automatic CRUD routes from a simple data object (resources with records), and compatibility with react-admin. Release cadence is stable with periodic updates.","language":"javascript","status":"active","version":"4.2.1","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fakerest","imports":["import { getMswHandler } from 'fakerest'","import { getFetchMockHandler } from 'fakerest'","import { getSinonHandler } from 'fakerest'"]},{"cmd":"yarn add fakerest","imports":[]},{"cmd":"pnpm add fakerest","imports":[]}],"homepage":"https://github.com/marmelab/FakeRest#readme","github":"https://github.com/marmelab/FakeRest","docs":null,"changelog":null,"pypi":null,"npm":"fakerest","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}