fetch-http-message

JSON →
library 1.0.12 ·javascript
verified Jun 7, 2026

Generate an HTTP message string using the Fetch API. Compatible with both browser and Node.js environments. Current stable version is 1.0.12. It takes a URL and options (method, headers, body) and returns a raw HTTP request string. Differentiates by being a lightweight, TypeScript-ready utility for creating HTTP message strings without making actual network requests.