{"library":"pretender","type":"library","category":null,"description":"Pretender is a mock server library for XMLHttpRequest and Fetch in the browser, providing an express/sinatra-style DSL for defining routes and handlers. Current stable version is 3.4.7, released with regular updates. It works by temporarily replacing native XMLHttpRequest and Fetch to intercept all requests. Key differentiators: minimal setup, supports dynamic route segments, timing simulation, and multiple map registration. Note: Only works in browsers, not Node.js.","language":"javascript","status":"active","version":"3.4.7","tags":["javascript","typescript"],"install":[{"cmd":"npm install pretender","imports":["import Pretender from 'pretender'","import type Pretender from 'pretender'","<script src=\"node_modules/pretender/dist/pretender.bundle.js\"></script>"]},{"cmd":"yarn add pretender","imports":[]},{"cmd":"pnpm add pretender","imports":[]}],"homepage":"https://github.com/pretenderjs/pretender#readme","github":"https://github.com/pretenderjs/pretender","docs":null,"changelog":null,"pypi":null,"npm":"pretender","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Sun Jun 07","next_check":"Sat Sep 05","install_tag":null}}