3. Used by agents' projects
Dependency in 5 public GitHub projects set up for AI coding agents that we scanned (0.1%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
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
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
More about node-mocks-http
Alternatives
node-mocks-http This page
Get started
Install it.
npm install node-mocks-httpNo step-by-step start for node-mocks-http yet: we have not written its hand-checked card.