Tech riderRev. 20 Sept 2026
Pretender.js
- 1Runs onWeb
- 2CostsNot stated by the maker
- 3Dynamic responsesYes
2 lines stated Written from the maker's own pages: github.com

Overview
Pretender.js is ranked #24 of 27 in API mocking tools on Specifiction. 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 20 All accessCh 01 Microcks Free planAPIBrowser Free to start7.6 All accessCh 02 Mockzilla Free planAPILinux from $10/mo7.6 All accessCh 03 Parasoft SOAtest Free trialAndroidAPI 7.6 All accessCh 04 WireMock Free planFree trialAPI Free to start7.6 All accessCh 05 Mockttp Free planLinuxMac Free to start7.4 All accessCh 06 Mockoon Free trialAPILinux from €10/mo7.3
Where it ranks on Specifiction
- Best API Mocking Tools in 2026#24 of 27
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



