
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@webtorrent/http-node
Advanced tools
This module is a standalone package of http from Node.js v6.3.0.
Unlike http-browserify, this is not a shim but the original code of Node.js, so it requires the net module.
This is useful for having the Node.js core APIs on JavaScript platforms other than Node.js, where TCP sockets are available (which can be wrapped in a net module).
One example of this is Chrome Apps with chrome-net.
npm install http-node
To use it with browserify, you have to use the JS API of browserify; the command line API does not support changing builtins.
Example:
const browserify = require('browserify');
const builtins = require('browserify/lib/builtins.js');
var customBuiltins = Object.assign({}, builtins);
customBuiltins.http = require.resolve('http-node');
var b = browserify({builtins: customBuiltins});
b.add(...
require calls of _http_* modules prefixed with ./require('internal/util').deprecate replaced by require('util').deprecateDTRACE_HTTP_*, LTTNG_HTTP_* and COUNTER_HTTP_*_handleThe code is taken from the Node.js project:
Copyright Node.js contributors. All rights reserved.
MIT
FAQs
Node.js http as a standalone package
The npm package @webtorrent/http-node receives a total of 11,271 weekly downloads. As such, @webtorrent/http-node popularity was classified as popular.
We found that @webtorrent/http-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.