Nock HTTP Server Mocking and Expectations Library for Node.js
Nock is an HTTP server mocking and expectations library for Node.js that intercepts outgoing HTTP requests and provides programmable responses. With over 13,000 GitHub stars and 5.5 million weekly npm downloads, it is one of the most widely used testing utilities in the JavaScript ecosystem.
Nock HTTP Server Mocking and Expectations Library for Node.js
Nock is an HTTP server mocking and expectations library for Node.js that intercepts outgoing HTTP requests and provides programmable responses. With over 13,000 GitHub stars and 5.5 million weekly npm downloads, it is one of the most widely used testing utilities in the JavaScript ecosystem.
Installation
Method 1, Agent Skill Exchange
- Install from the marketplace listing: https://agentskillexchange.com/skills/nock-http-server-mocking-nodejs/
Method 2, Git clone
git clone https://github.com/agentskillexchange/skills.git && cd skills/skills/nock-http-server-mocking-nodejs
Method 3, Download ZIP
- Download the repository ZIP and extract
skills/nock-http-server-mocking-nodejs.
Method 4, Manual copy
- Copy this skill folder into your local skills directory, then reload your agent tooling.
Method 5, Fork and sync
- Fork the repository if you want to maintain local edits while syncing upstream changes.