Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
holesail-server
Advanced tools
Server module for holesail to create and announce local server on the DHT
Join our Discord Support Server
Create and announce your server on the HyperDHT P2P protocol.
npm i holesail-server
Require as a module
const HolesailServer = require('holesail-server')
Create instance of the holesailServer class
const server = new HolesailServer();
Start server and get the public key
server.serve({port:5000, address:"127.0.0.1"}, () => {
console.log('Server started');
console.log(server.getPublicKey());
setTimeout(() => {
server1.destroy();
console.log('Server destroyed');
}, 6000);
})
Optionally you can also set a buffSeed to generate the same connection key every time
server.serve({port:5000, address:"127.0.0.1",buffSeed:"4917816487c1822049939ff1abbf515663275105d01361bbc84fe2000e594539"}, () => {
console.log('Server started');
console.log(server.getPublicKey());
setTimeout(() => {
server1.destroy();
console.log('Server destroyed');
}, 6000);
})
//buffSeed needs to be of 64 char long
Destroy the DHT server
server.destroy();
server.serve(options,callback())
FAQs
Server module for holesail to create and announce local server on the DHT
The npm package holesail-server receives a total of 42 weekly downloads. As such, holesail-server popularity was classified as not popular.
We found that holesail-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.