
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
etcd-watcher
Advanced tools
You need node-etcd.
$ npm install node-etcd
$ npm install etcd-watcher
Please note that returned values object will be modified by this library, if you want to compare values
between change
events, you'll need to clone the returned values.
var Etcd = require('node-etcd');
var etcd = new Etcd();
var etcdWatcher = require('etcd-watcher');
var watcher = etcdWatcher.watcher(etcd, {
key1: {
required: true,
etcd: '/foo/bar/key1'
},
key2: {
required: false,
default: 'defaultValue'
},
key3: { // will fetch all subNodes and return them as objet, also react to any child modification
etcd: '/foo',
}
});
watcher.wait(function (err, values) {
console.log('keys set', values);
watcher.on('change', function (values) {
console.log('key change', values);
})
});
FAQs
Wait for etcd key creation and watch changes
The npm package etcd-watcher receives a total of 320 weekly downloads. As such, etcd-watcher popularity was classified as not popular.
We found that etcd-watcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.