Pretender
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 7
actors 1 distinct systems
last hit 20d ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France
Resources
packagepretender ↗