{"library":"http-response-object","type":"library","category":null,"description":"http-response-object is a minimalistic JavaScript library designed to encapsulate HTTP response data into a simple, consistent object. It provides a standardized structure for common response properties such as `statusCode`, `headers`, `body`, and `url`, which simplifies handling and passing HTTP responses across different application layers. The current stable version is 3.0.2. While the project maintains a focused scope, it receives updates to ensure compatibility and address specific use cases. Key differentiators include its lightweight design, explicit support for both Node.js `Buffer` and `String` for the response body, and the inclusion of TypeScript types, which enhance developer experience through strong type checking. It is frequently employed in contexts requiring a normalized representation of HTTP responses, such as in HTTP client abstractions, proxy implementations, or server-side rendering logic, offering a predictable interface for response data.","language":"javascript","status":"active","version":"3.0.2","tags":["javascript","http","https","response","request","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-response-object","imports":["import Response from 'http-response-object';","const Response = require('http-response-object');","import type Response from 'http-response-object';"]},{"cmd":"yarn add http-response-object","imports":[]},{"cmd":"pnpm add http-response-object","imports":[]}],"homepage":null,"github":"https://github.com/ForbesLindesay/http-response-object","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-response-object","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/http-response-object/compatibility"}}