npm package
Homenock
Nock is an HTTP server mocking and expectations library for Node. js, designed to test modules that perform HTTP requests in isolation. It allows developers to simulate HTTP interactions without making real network calls, making it ideal for unit testing.
- lurq health score
- 81/100
- Confidence
- proven
- Weekly downloads
- 4,984,021
- Latest version
- 14.0.17
- Last release
- Jul 30, 2026
- License
- MIT
Should you depend on nock?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks nock at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading nock
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 14.0.17 → 15.0.0being extracted
- 13.5.6 → 14.0.17being extracted
- 12.0.3 → 13.5.6being extracted
Other testing packages lurq scores
- fast-check94/100 · proven
- marked93/100 · proven
- @middy/util93/100 · proven
- jsdom90/100 · proven
- mocha90/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 21, 2026; this page refreshes every 168 hours. Source repository.