FakeRest
JSON →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.
Resources
packagefakerest ↗