
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
hypercore-protocol-proxy
Advanced tools
A module that allows you to proxy a single hypercore replication stream to multiple peers
A module that allows you to proxy a single hypercore replication stream to multiple peers.
npm install hypercore-protocol-proxy
Useful if you want to implement a hypercore proxy gateway that replicates with many peers behind the scene, for privacy or connectivity reasons.
const createProxyStream = require('hypercore-protocol-proxy')
const net = require('net')
const pump = require('pump')
net.createServer(function (socket) {
const { stream, proxy } = createProxyStream(aFeedKey)
pump(socket, stream, socket)
// find some peers something
findSomePeers(aFeedKey, function (stream) {
proxy(stream) // proxy to this peer, can be called multiple times
})
}).listen(3282)
{ stream, proxy } = createProxyStream(feedKey, [options])Create a proxy stream and forwarded. All options are forwarded to hypercore's replication method.
Call proxy(stream) with a stream to another peer to start proxying to them.
It is safe to call this as many times as you want.
MIT
FAQs
A module that allows you to proxy a single hypercore replication stream to multiple peers
The npm package hypercore-protocol-proxy receives a total of 0 weekly downloads. As such, hypercore-protocol-proxy popularity was classified as not popular.
We found that hypercore-protocol-proxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.