# elasticsearch-client-retry

> Elasticsearch client wrapper to handle No Living Connection errors

Latest version **0.1.0** (published 2016-08-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install elasticsearch-client-retry
pnpm add elasticsearch-client-retry
yarn add elasticsearch-client-retry
bun add elasticsearch-client-retry
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-08-24 |
| First published | 2016-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.2.3 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | David Tanner |
| Maintainers | darthtanner |
| Keywords | elasticsearch, "no, living, connections", client |

## Links

- npm: https://www.npmjs.com/package/elasticsearch-client-retry
- Repository: https://github.com/VivintSolar/elasticsearch-client-retry
- Homepage: https://github.com/VivintSolar/elasticsearch-client-retry#readme
- Issues: https://github.com/VivintSolar/elasticsearch-client-retry/issues
- npm.io page: https://npm.io/package/elasticsearch-client-retry

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2016-08-24

## README

ElasticSearch Client Retry wrapper
==================================

# Travis Build [![Build Status](https://travis-ci.org/VivintSolar/elasticsearch-client-retry.png?branch=master)](https://travis-ci.org/VivintSolar/elasticsearch-client-retry)


A small utility for handling ElasticSearch No living connections issues.
elasticsearch-client-retry does not have any dependencies

Installation
------------
```shell
  npm install elasticsearch-client-retry --save
```

Usage
-----
```javascript
let es = require('elasticsearch');
let config = {};
let retryCount = 10;
let esRetry = require('elasticsearch-client-retry');
let client = esRetry(es, config, retryCount);
```

Use client as [normal](https://github.com/elastic/elasticsearch-js#examples)


Tests
-----
```shell
  npm test
```

Contributing
------------
In lieu of a formal styleguide, take care to maintain the existing coding style.
Add unit tests for any new or changed functionality. Lint and test your code.

- David Tanner

Release History
---------------

* 0.1.0 Initial release

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