{"library":"chai-http","type":"library","category":null,"description":"Chai HTTP is an assertion plugin for the Chai Assertion Library, designed specifically for conducting HTTP integration tests. It enables developers to test HTTP APIs by composing requests and asserting on their responses, supporting both web applications (like Express or Connect apps) and external URLs. The library uses Superagent under the hood for making HTTP requests. The current stable version is 5.1.2, which maintains an active release cadence with multiple updates in the past year, indicating sustainable maintenance and a popular standing within the Node.js ecosystem. Key differentiators include its fluent, chainable API for request creation, automatic server management for local applications (starting and stopping it), and comprehensive assertions for common HTTP tasks like status codes, headers, and body content. It ships with TypeScript types, enhancing developer experience in TypeScript projects.","language":"javascript","status":"active","version":"5.1.2","tags":["javascript","chai","chai-plugin","browser","http","request","vendor","supertest","superagent","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install chai-http","imports":["import chaiHttp from 'chai-http';","import { request } from 'chai-http';","import * as chai from 'chai';"]},{"cmd":"yarn add chai-http","imports":[]},{"cmd":"pnpm add chai-http","imports":[]}],"homepage":null,"github":"https://github.com/chaijs/chai-http","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/chai-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/chai-http/compatibility"}}