Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

node-mocks-http

Mock HTTP request and response objects for testing Express and Next.js handlers.

TestingNPM

GitHubWebsite

1. License

License from npm.

github.com/eugef/node-mocks-http

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What node-mocks-http does

Mock HTTP request and response objects for testing Express and Next.js handlers.

node-mocks-http popularity

43 / 100
Gid Score, #2806 overall
2.9M
downloads a week, npm
770
GitHub stars
5
agent projects use it
node-mocks-http: downloads per weeknpm, node-mocks-http 2,894,661
node-mocks-http: GitHub starseugef/node-mocks-http 770

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How node-mocks-http is used

  • node-mocks-http joined the catalog on its public numbers (2,894,661 downloads a week on npm and 770 GitHub stars), not on our project count: it is a dependency in 13 public GitHub projects of our scan, 5 of them set up for AI coding agents.
  • Projects that use it most often also use Testing Library (76.9%), Next.js (76.9%), Jest (69.2%).

Often used with

In 76.9% of its projects
In 76.9% of its projects
In 69.2% of its projects
In 69.2% of its projects
In 69.2% of its projects
In 61.5% of its projects
In 84.6% of its projects
In 53.8% of its projects

More about node-mocks-http

More in Testing

Alternatives

node-mocks-http This page

MITGid 432.9M/wk

Compare node-mocks-http with another tool

Get started

Install it.

npm install node-mocks-http

No step-by-step start for node-mocks-http yet: we have not written its hand-checked card.