# etcdjs-promise

> Simplified promise-based api for etcd

Latest version **1.0.0** (published 2016-05-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install etcdjs-promise
pnpm add etcdjs-promise
yarn add etcdjs-promise
bun add etcdjs-promise
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-05-25 |
| First published | 2016-05-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Matt Styles |
| Maintainers | mattstyles |
| Keywords | etcd, promise |

## Links

- npm: https://www.npmjs.com/package/etcdjs-promise
- Repository: https://github.com/mattstyles/etcdjs-promise
- Homepage: https://github.com/mattstyles/etcdjs-promise#readme
- Issues: https://github.com/mattstyles/etcdjs-promise/issues
- npm.io page: https://npm.io/package/etcdjs-promise

## Alternatives

- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads
- [fa](https://npm.io/package/fa.md) — 185 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-05-25

## README

# etcdjs-promise

> Promisifies get, set and delete operations for etcd

## Install

Requires [etcdjs](github.com/mafintosh/etcdjs) as a backend.

```sh
npm i -S etcdjs-promise etcdjs
```

## Usage

```js
const Etcd = require( 'etcdjs' )
const Store = require( 'etcdjs-promise' )

const etcd = Etcd()
const store = Store( etcd )

store.set( 'foo', 'bar' )
  .then( res => {
  })
  .catch( err => {
  })

store.get( 'foo' )
  .then( res => {
    console.log( res.node.value )
  })

store.del( 'foo' )
```

## License

MIT

---
_Source: https://npm.io/package/etcdjs-promise · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
