{"id":"555e1b4e-3b8d-433f-9168-63a61c5dd3df","shortId":"NWb35W","kind":"skill","title":"Nock HTTP Server Mocking and Expectations Library for Node.js","tagline":"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 JavaScrip","description":"# Nock HTTP Server Mocking and Expectations Library for Node.js\n\nNock 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.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- $ npm install --save-dev nock\n\nRequirements and caveats from upstream:\n- HTTP server mocking and expectations library for Node.js\n- [Node version support](#node-version-support)\n- Nock works by overriding Node's http.request function. Also, it overrides http.ClientRequest too to cover for modules that use it directly.\n\nBasic usage or getting-started notes:\n- [Usage](#usage)\n- [Usage](#usage-1)\n- [Example](#example)\n\n- Source: https://github.com/nock/nock\n- Extracted from upstream docs: https://raw.githubusercontent.com/nock/nock/HEAD/README.md\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/nock-http-server-mocking-nodejs/)","tags":["nock","http","server","mocking","nodejs","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list","claude-code"],"capabilities":["skill","source-agentskillexchange","skill-nock-http-server-mocking-nodejs","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/nock-http-server-mocking-nodejs","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,106 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:11:25.625Z","embedding":null,"createdAt":"2026-05-18T13:17:55.024Z","updatedAt":"2026-05-18T19:11:25.625Z","lastSeenAt":"2026-05-18T19:11:25.625Z","tsv":"'-1':180 '/nock/nock':186 '/nock/nock/head/readme.md':193 '/skills/nock-http-server-mocking-nodejs/)':200 '000':33,87 '13':32,86 '5.5':37,91 'agent':195 'agentskillexchange.com':199 'agentskillexchange.com/skills/nock-http-server-mocking-nodejs/)':198 'also':156 'basic':169 'caveat':130 'cover':162 'dev':126 'direct':168 'doc':190 'download':41,95 'ecosystem':109 'environ':121 'exampl':181,182 'exchang':197 'expect':6,17,60,71,137 'extract':187 'function':155 'get':173 'getting-start':172 'github':34,88 'github.com':185 'github.com/nock/nock':184 'http':2,13,24,56,67,78,133 'http.clientrequest':159 'http.request':154 'instal':110,114,123 'intercept':22,76 'javascrip':54 'javascript':108 'librari':7,18,61,72,138 'match':119 'million':38,92 'mock':4,15,58,69,135 'modul':164 'nock':1,10,55,64,127,148 'node':141,145,152 'node-version-support':144 'node.js':9,20,63,74,140 'note':175 'npm':40,94,122 'one':44,98 'outgo':23,77 'overrid':151,158 'path':117 'programm':28,82 'provid':27,81 'raw.githubusercontent.com':192 'raw.githubusercontent.com/nock/nock/head/readme.md':191 'request':25,79 'requir':128 'respons':29,83 'save':125 'save-dev':124 'server':3,14,57,68,134 'setup':116 'skill':196 'skill-nock-http-server-mocking-nodejs' 'sourc':183,194 'source-agentskillexchange' 'star':35,89 'start':174 'support':143,147 'test':50,104 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':113,132,189 'usag':170,176,177,178,179 'use':49,103,111,166 'util':51,105 'version':142,146 'week':39,93 'wide':48,102 'work':149","prices":[{"id":"40af65e7-3f0d-4c03-9176-be6babfc5357","listingId":"555e1b4e-3b8d-433f-9168-63a61c5dd3df","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:17:55.024Z"}],"sources":[{"listingId":"555e1b4e-3b8d-433f-9168-63a61c5dd3df","source":"github","sourceId":"agentskillexchange/skills/nock-http-server-mocking-nodejs","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/nock-http-server-mocking-nodejs","isPrimary":false,"firstSeenAt":"2026-05-18T13:17:55.024Z","lastSeenAt":"2026-05-18T19:11:25.625Z"}],"details":{"listingId":"555e1b4e-3b8d-433f-9168-63a61c5dd3df","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"nock-http-server-mocking-nodejs","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"5b333f6d9f190c003c93e3df57ad31e91345cf03","skill_md_path":"skills/nock-http-server-mocking-nodejs/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/nock-http-server-mocking-nodejs"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Nock HTTP Server Mocking and Expectations Library for Node.js","description":"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."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/nock-http-server-mocking-nodejs"},"updatedAt":"2026-05-18T19:11:25.625Z"}}