npm · npm:pretender
pretender active
Pretender is a mock server library for XMLHttpRequest and Fetch, that comes with an express/sinatra style syntax for defining routes and their handlers.
The latest stable version of pretender is 3.4.7, published on 2021-08-04. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.4.7 |
|---|---|
| Published | 2021-08-04 00:44:56 UTC |
| Install | npm install pretender@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 3.4.7 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:05:47 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "pretender", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/pretender . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2021-08-04 00:44:56 UTC · 1926 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 50 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.4.7 | 2021-08-04 00:44:56 UTC |
3.4.6 | 2021-07-30 01:05:12 UTC |
3.4.5 | 2021-07-27 04:51:46 UTC |
3.4.4 | 2021-07-27 04:41:37 UTC |
3.4.3 | 2020-05-19 15:06:19 UTC |
3.4.2 | 2020-05-19 15:04:10 UTC |
3.4.1 | 2020-04-20 05:35:28 UTC |
3.4.0 | 2020-03-21 03:38:23 UTC |
3.3.1 | 2020-02-10 02:38:22 UTC |
3.3.0 | 2020-02-07 00:11:59 UTC |
3.2.0 | 2019-12-22 05:57:07 UTC |
3.0.5 | 2019-12-12 05:15:27 UTC |
2.1.2 | 2019-12-12 05:01:00 UTC |
3.1.0 | 2019-11-28 17:04:22 UTC |
3.0.4 | 2019-11-04 21:36:55 UTC |
3.0.3 | 2019-11-03 23:19:15 UTC |
3.0.2 | 2019-07-18 20:12:52 UTC |
3.0.1 | 2019-04-10 16:40:40 UTC |
2.1.1 | 2018-07-17 16:44:58 UTC |
2.1.0 | 2018-07-17 16:15:40 UTC |
Showing the 20 most recent of 50 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.4.7 |
node 18 | 3.4.7 |
node 20 | 3.4.7 |
node 22 | 3.4.7 |
node 24 | 3.4.7 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of pretender?
The latest stable version of pretender is 3.4.7, published on 2021-08-04. Verified by Vigia on 2026-11-12.
How do I install the latest version of pretender?
Run npm install pretender@latest. The latest stable version is 3.4.7 (verified 2026-11-12).
Is pretender deprecated?
No. pretender is not marked as deprecated in the registry.
Which Node.js version does pretender require?
pretender 3.4.7 does not declare a Node.js version requirement.
Does pretender 3.4.7 have known vulnerabilities?
No known advisories affect pretender 3.4.7 according to the data Vigia checks.
Is pretender still maintained?
pretender published 0 stable releases in the last 12 months; the most recent was 1926 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- static-browser-server
- @jsamr/react-native-li
- @vercel/microfrontends
- public-ip
- serverless-http
- fetch-jsonp
- find-git-root
- deep-strict-equal
- @chakra-ui/react-env
- react-with-styles-interface-css
- esbuild-sass-plugin
- @napi-rs/nice-android-arm64
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/pretender) [](https://vigia.coredls.cloud/npm/pretender) [](https://vigia.coredls.cloud/npm/pretender)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/pretender
GET https://vigia.coredls.cloud/v1/packages/npm/pretender/versions/{version}