{"library":"httpception","type":"library","category":null,"description":"Version 4.0.1. A lightweight HTTP mocking library for Node.js that intercepts HTTP traffic during tests. It automatically restores the http module after each test (via a registered afterEach block) and fails if any mocks were not exercised. Supports both simple inline mocking and a callback-based approach for scoping. Differentiates from alternatives like nock by its automatic cleanup and integration with test frameworks.","language":"javascript","status":"active","version":"4.0.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install httpception","imports":["const httpception = require('httpception');","import httpception from 'httpception';","import httpception from 'httpception';"]},{"cmd":"yarn add httpception","imports":[]},{"cmd":"pnpm add httpception","imports":[]}],"homepage":null,"github":"https://github.com/papandreou/httpception","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/httpception","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/httpception/compatibility"}}