
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
An alternative client library for interacting with etcd from node.js (without coffeescrpt). If you don't mind having coffeescript dependencies, there is already is a module for that.
This is not stable at all! I am writing this module as I learn more about etcd, feel free to help!
$ npm install etcd
I made the client a singleton for the time being (up for suggestions). If you need to set host
or port
, use the configure
method.
var etcd = require('etcd');
etcd.configure({
host: '127.0.0.1',
port: 40001
});
NOTE: I still need to add SSL support.
I am still implementing commands, but here is what we have so far:
etcd.set('hello', 'world', function (err) {
if (err) throw err;
});
Set with a TTL:
etcd.set('hello', 'world', { ttl: 5 }, function (err) {
if (err) throw err;
});
Set using a "setAndTest":
etcd.set('hello', 'world', { prev: 'world' }, function (err) {
if (err) throw err;
});
etcd.get('hello', function (err, result) {
if (err) throw err;
assert(result.value);
});
etcd.del('hello', function (err) {
if (err) throw err;
});
etcd.list('prefix', function (err, items) {
if (err) throw err;
});
etcd.watch('prefix', function (err) {
if (err) throw err;
});
etcd.machines(function (err, list) {
if (err) throw err;
});
etcd.leader(function (err, host) {
if (err) throw err;
});
MIT
FAQs
etcd client for node
The npm package etcd receives a total of 21 weekly downloads. As such, etcd popularity was classified as not popular.
We found that etcd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.