{"library":"yesno-http","type":"library","category":null,"description":"YesNo is an HTTP testing library for Node.js designed to intercept, mock, and record outgoing HTTP requests. Utilizing the `Mitm` library, it operates at a low level within the Node.js process, allowing for the inspection and manipulation of actual HTTP traffic generated by an application, rather than simply mocking higher-level request library calls. This approach enables more accurate and robust testing of an application's real-world network behavior. The current version, 0.0.7, is explicitly noted as a beta release, indicating that its API is subject to change and may undergo breaking modifications before reaching its first stable major release. The project is actively maintained, focusing on reaching this 1.0.0 milestone. Key features include spying on requests, easily mocking responses, and recording interactions for future use or to generate test data.","language":"javascript","status":"active","version":"0.0.7","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install yesno-http","imports":["import { yesno } from 'yesno-http';","import type { ISerializedHttp } from 'yesno-http';","yesno.spy();","yesno.restore();"]},{"cmd":"yarn add yesno-http","imports":[]},{"cmd":"pnpm add yesno-http","imports":[]}],"homepage":null,"github":"https://github.com/formidablelabs/yesno","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/yesno-http","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/yesno-http/compatibility"}}