Creates an HTTP server that exposes the raw request data, including headers and body, as streams. Version 2.1.0 is the latest stable release, with no recent updates (last published circa 2013). It wraps Node's http.createServer but adds req.createRawStream() and req.createRawBodyStream() methods to read/write raw HTTP data without parsing. Useful for proxies or debugging. Different from alternatives like raw-body by giving full control over raw socket data.
npm install http-rawNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create an http-raw server, handle GET and other methods, and use a raw body stream to echo back uppercased data.
Use req.createRawBodyStream() instead if you only need the body after headers.
Ensure you write correctly formatted HTTP data when using raw streams.
Consider using http.createServer with raw body parsing libraries like raw-body for active maintenance.
Use var createServer = require('http-raw'); (no destructuring).Make sure to create the server with require('http-raw') instead of require('http').No dependency data recorded yet.