
Security News
Socket Security Analysis Is Now One Click Away on npm
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.
@hyperswarm/tunnel
Advanced tools
Tunneling service for Hyperswarm
npm install @hyperswarm/tunnel
const { Remote, Local } = require('@hyperswarm/tunnel')
On a remote server run the tunneler
const r = new Remote()
r.listen(10000) // listen on port 10000
Then on a client you can start a server that's being announced
const l = new Local(10000, 'remote-server.com')
const s = l.createServer(function (socket) {
// a remote socket ...
})
s.listen(hash(Buffer.from('a topic to announce on')))
Or a client connection
const s = l.connect(hash(Buffer.from('a topic to connect on')))
If you just want to spin up a tunneling server you can run the following cli
npm install -g @hyperswarm/tunnel
hyperswarm-tunnel-server --port 10000
MIT
FAQs
Tunneling service for Hyperswarm
We found that @hyperswarm/tunnel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.