A standalone repackaging of Node.js's built-in http module (version v6.3.0) as an npm package. It provides the original Node.js HTTP implementation, not a browser shim, and depends on the net module (e.g., chrome-net for Chrome Apps). Useful for running Node.js HTTP code on non-Node.js JavaScript platforms with TCP socket support. Currently at version 1.2.0, with no recent updates; considered stable but outdated.
npm install http-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates requiring http-node and creating a basic HTTP server with a custom net module.
Provide a compatible net module, like chrome-net for Chrome Apps, or use browserify aliases.
Ensure http-parser-js is available or pin to a version that supports your runtime.
Consider using a more up-to-date standalone HTTP implementation or native Node.js.
Use browserify JS API to alias 'http' to 'http-node' as shown in README.
Tracing functions will silently do nothing; this may hide issues.
Install and alias a net implementation (e.g., chrome-net) and provide it via browserify: require('chrome-net') and alias 'net' in browserify config.Use `const http = require('http-node');` (not `require('http')`) and ensure browserify builtins alias is set correctly.Use `require('http-node')` instead of `import` or add a bundler like browserify with proper configuration.Ensure http-node is fully aliased and all dependencies (http-parser-js, net) are correctly resolved. Use require.resolve('http-node') for the path.