
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
etcd-registry-join
Advanced tools
Add a service to etcd-registry and remove it when your service process exits
Add a service to etcd-registry and remove it when your service process exits
npm install etcd-registry-join
Or if you want to install the command line tool as well
npm install -g etcd-registry-join
var join = require('etcd-registry-join');
var http = require('http');
var server = http.createServer(function(request, response) {
response.end('hello world\n');
});
server.listen(8080, function() {
join('http://127.0.0.1', 'my-service', server, function(err, service) {
console.log('service joined:', service);
});
});
You should replace http://127.0.0.1 with your connection string to etcd.
Alternatively you can pass an instance of etcd-registry.
When the process receives SIGTERM or SIGINT it will unregister the service from the registry
before exiting the process.
You can also use the command line tool
etcd-registry-join http://127.0.0.1 my-service my-app.js
Where my app looks like
var http = require('http');
var server = http.createServer(function(request, response) {
response.end('hello world\n');
});
server.listen(process.env.PORT); // this env var is set by etcd-registry-join
When your server is listening on PORT etcd-registry-join will add your service to the registry
MIT
FAQs
Add a service to etcd-registry and remove it when your service process exits
We found that etcd-registry-join 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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.