DevX Tools
  • Catalog
  • Comparisons
  • Guides
  • Pick a Tool
  • Changelog

Nock

MIT

HTTP mocking and expectations in Node.js tests

Overview

HTTP server mocking and expectations library for Node.js. Intercepts requests at the Node.js HTTP module level, perfect for unit testing external API calls.

Details

Languages

JavaScriptTypeScript

Runtimes

Node.js

Categories

HTTP Interception

Links

🌐 Official Websitehttps://github.com/nock/nock📦 Repositoryhttps://github.com/nock/nock

Last checked: 2026-10-14

← Back to Catalog

Get occasional emails about new dev/test tools and guides

© 2026 DevX Tools. A curated guide to API mocking and test data tools.

Contribute on GitHub