Pretender.js
No phone app
4.9No. 24 of 25
in API Mocking Tools
in API Mocking Tools
- Recognised40% of the score20
- Phone app26% of the score0
- Documented20% of the score19
- Free plan14% of the score30
- Free plan
- No
- Runs on
- Web
Summary
Pretender.js is ranked #24 of 25 in API mocking tools on Samsung Mobile US Press. It runs on Web.
Compared on API mocking tools
- Dynamic responses
- Yesgithub.com
Facts
- Purpose
- Pretender is a mock server library for XMLHttpRequest and Fetch with an Express/Sinatra-style routing syntax.github.com · 4 Oct 2026
- Browser-only
- Pretender only works in the browser.github.com · 4 Oct 2026
- Route methods
- The routing DSL provides get, put, post, delete, patch, and head methods.github.com · 4 Oct 2026
- Response timing
- Routes can respond asynchronously, synchronously, after a delay, or only when manually resolved.github.com · 4 Oct 2026
- Pass-through
- Routes can be configured to pass requests through to native XMLHttpRequest requests.github.com · 4 Oct 2026
- Request tracking
- Pretender tracks handlers and handled, unhandled, and pass-through requests, and tracking can be disabled with an option.github.com · 4 Oct 2026
- Installation
- The README shows installation with yarn add -D pretender or npm install --save-dev pretender.github.com · 4 Oct 2026
- Module use
- The README shows Pretender loaded directly in a browser or imported as a module.github.com · 4 Oct 2026
- License
- The repository uses the MIT license, which grants permission to use, copy, modify, distribute, sublicense, and sell the software without charge.github.com · 4 Oct 2026
- Support and community
- The project asks community members to follow its Code of Conduct and directs reports to a maintainer.github.com · 4 Oct 2026
Best Pretender.js alternatives
See all 12Where it ranks on Samsung Mobile US Press
- Best API Mocking Tools in 2026#24 of 25
Is Pretender.js yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- github.com/pretenderjs/pretender· checked 4 Oct 2026
- github.com/pretenderjs/pretender/blob/master/LICEN· checked 4 Oct 2026



