mirror of
https://github.com/donl/slouch.git
synced 2026-05-25 22:07:24 -06:00
A JS client for CouchDB that does the heavy lifting
* chore(package): update mocha to version 7.0.1 * chore(package): update lockfile package-lock.json Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com> |
||
|---|---|---|
| .circleci | ||
| cache | ||
| examples | ||
| scripts | ||
| test | ||
| .gitignore | ||
| .jshintrc | ||
| .npmignore | ||
| API.md | ||
| beautify.json | ||
| BUILDING.md | ||
| enable-cors.sh | ||
| GETTING-STARTED.md | ||
| index.js | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| reset-db.js | ||
| run-couchdb-1-docker.sh | ||
| run-couchdb-docker.sh | ||
| SLOUCH.md | ||
| TESTING.md | ||
slouch
A JS API for CouchDB that does the heavy lifting
Slouch is a good alternative to nano:
- You don't have to create an instance for each DB
- Supports native promises
- Supports iterators
- Automatically throttles connections to DB to avoid max_dbs_open errors
- Automatically persists connections with exponential backoff in case DB restarts or connection is dropped
- Works in node and in the browser
- Provides upserts and "get and update" functions
- Support for optionally ignoring conflicts, missing docs, etc...
- Designed for both CouchDB 1 and CouchDB 2
Table of Contents
- Getting Started
- Don't just relax. Slouch!
- Examples
- Reference
- Don’t Just Relax; Slouch: A JS Client for CouchDB that Does the Heavy Lifting