Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@mindkeeper-solutions/etcd3
Advanced tools
etcd3 aims to be (with its first stable release) a high-quality, production-ready client for the Protocol Buffer-based etcdv3 API. It includes load balancing, reconnections, transactions, software transactional memory, high-level query builders and lease management, watchers, mocking, and is type-safe for TypeScript consumers.
Install via:
npm install --save etcd3
Start CRUD-ing!
const { Etcd3 } = require('etcd3');
const client = new Etcd3();
client.put('foo').value('bar')
.then(() => client.get('foo').string())
.then(value => console.log('foo was:', value))
.then(() => client.getAll().prefix('f').strings())
.then(keys => console.log('all our keys starting with "f":', keys))
.then(() => client.delete().all());
Our TypeDoc docs are available here.
Our test cases are also quite readable.
$ npm install
$ docker-compose up
$ npm test
$ docker-compose down
Running tests for this module requires running an etcd3 server locally. The tests try to use the default port initially, and you can configure this by setting the ETCD_ADDR
environment variable, like export ETCD_ADDR=localhost:12345
.# Contributing
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
FAQs
Node client for etcd3
The npm package @mindkeeper-solutions/etcd3 receives a total of 0 weekly downloads. As such, @mindkeeper-solutions/etcd3 popularity was classified as not popular.
We found that @mindkeeper-solutions/etcd3 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.