Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redgeoff/slouch
A JS client for CouchDB that does the heavy lifting
https://github.com/redgeoff/slouch
api browser couchdb js node slouch
Last synced: 6 days ago
JSON representation
A JS client for CouchDB that does the heavy lifting
- Host: GitHub
- URL: https://github.com/redgeoff/slouch
- Owner: redgeoff
- License: mit
- Created: 2017-07-12T05:13:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T17:13:27.000Z (about 2 years ago)
- Last Synced: 2024-04-14T07:27:30.521Z (9 months ago)
- Topics: api, browser, couchdb, js, node, slouch
- Language: JavaScript
- Homepage:
- Size: 425 KB
- Stars: 121
- Watchers: 3
- Forks: 24
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slouch
[![Greenkeeper badge](https://badges.greenkeeper.io/redgeoff/slouch.svg)](https://greenkeeper.io/) [![Circle CI](https://circleci.com/gh/redgeoff/slouch.svg?style=svg&circle-token=ae7548ebc7e23a051ed03dbc3209c5e0529e260a)](https://circleci.com/gh/redgeoff/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 CouchDB 1, CouchDB 2 and CouchDB 3## Table of Contents
* [Getting Started](GETTING-STARTED.md)
* [Don't just relax. Slouch!](SLOUCH.md)
* [Examples](https://github.com/redgeoff/slouch/tree/master/examples)
* [Reference](API.md)
* [Don’t Just Relax; Slouch: A JS Client for CouchDB that Does the Heavy Lifting](https://medium.com/@redgeoff/dont-just-relax-slouch-a-js-client-for-couchdb-that-does-the-heavy-lifting-d8232eba8e2c)## [Testing/Contributing](TESTING.md)
## [Building](BUILDING.md)