npm · npm:node-mocks-http
node-mocks-http active
Mock 'http' objects for testing Express, Next.js and Koa routing functions
The latest stable version of node-mocks-http is 1.18.1, published on 2026-07-16. Verified by Vigia on 2026-11-12.
| Latest stable version | 1.18.1 |
|---|---|
| Published | 2026-07-16 21:25:09 UTC |
| Install | npm install node-mocks-http@latest |
| Requires (engines) | {"node":">=14"} |
| Peer dependencies | @types/node * @types/express ^4.17.21 || ^5.0.0 |
| Dist-tags | latest: 1.18.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:23:17 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-07-16 21:25:09 UTC · 118 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 70 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.18.1 | 2026-07-16 21:25:09 UTC |
1.18.0 | 2026-07-07 20:30:40 UTC |
1.17.2 | 2025-05-02 20:08:43 UTC |
1.17.1 | 2025-05-01 20:00:47 UTC |
1.17.0 | 2025-04-27 15:56:32 UTC |
1.16.2 | 2024-12-10 16:35:44 UTC |
1.16.1 | 2024-10-04 10:55:32 UTC |
1.16.0 | 2024-09-09 15:31:25 UTC |
1.15.1 | 2024-07-31 09:14:14 UTC |
1.15.0 | 2024-06-21 15:23:23 UTC |
1.14.1 | 2024-01-03 14:09:09 UTC |
1.14.0 | 2023-12-12 13:32:47 UTC |
1.13.0 | 2023-08-14 14:40:27 UTC |
1.12.2 | 2023-03-13 13:28:07 UTC |
1.12.1 | 2022-11-11 13:21:12 UTC |
1.11.0 | 2021-09-23 09:05:52 UTC |
1.10.1 | 2021-01-20 15:35:27 UTC |
1.10.0 | 2021-01-12 16:02:13 UTC |
1.9.0 | 2020-08-21 19:46:31 UTC |
1.8.1 | 2019-12-12 20:09:50 UTC |
Showing the 20 most recent of 70 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 | 1.18.1 |
node 18 | 1.18.1 |
node 20 | 1.18.1 |
node 22 | 1.18.1 |
node 24 | 1.18.1 |
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 node-mocks-http?
The latest stable version of node-mocks-http is 1.18.1, published on 2026-07-16. Verified by Vigia on 2026-11-12.
How do I install the latest version of node-mocks-http?
Run npm install node-mocks-http@latest. The latest stable version is 1.18.1 (verified 2026-11-12).
Is node-mocks-http deprecated?
No. node-mocks-http is not marked as deprecated in the registry.
Which Node.js version does node-mocks-http require?
node-mocks-http 1.18.1 declares this requirement: {"node":">=14"}.
Does node-mocks-http 1.18.1 have known vulnerabilities?
No known advisories affect node-mocks-http 1.18.1 according to the data Vigia checks.
Is node-mocks-http still maintained?
node-mocks-http published 2 stable releases in the last 12 months; the most recent was 118 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @types/express
- @types/node
- @hapi/iron
- @radix-ui/colors
- @next/swc-linux-arm64-musl
- @xhmikosr/os-filter-obj
- @huggingface/jinja
- @vercel/rust
- mute-stdout
- @react-native-community/cli-platform-ios
- @types/color-convert
- @types/liftoff
- borsh
- cp-file
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/node-mocks-http) [](https://vigia.coredls.cloud/npm/node-mocks-http) [](https://vigia.coredls.cloud/npm/node-mocks-http)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/node-mocks-http
GET https://vigia.coredls.cloud/v1/packages/npm/node-mocks-http/versions/{version}