forbeslindesay

forbeslindesay/http-response-object

A simple object to represent an http response

TypeScript
4
5
MIT License

http-response-object is a lightweight JavaScript library that provides a simple object to represent an HTTP response, complete with properties like status code, headers, body, and URL. It's designed for developers working with HTTP requests and responses, particularly those using Node.js or similar environments, and supports both Flow and TypeScript. The library is useful for testing, mocking, or handling HTTP responses in a structured and type-safe way.

Total donated
Undistributed
Share with your subscribers: