
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
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 403 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.