A JS client for CouchDB that does the heavy lifting
Find a file
2022-12-11 22:34:19 -07:00
.circleci setting couchdb@3.1 2022-12-11 22:34:19 -07:00
cache initial 2017-07-11 22:22:43 -07:00
examples Remove Todo since issue #10 is closed (#117) 2019-10-29 23:31:29 -07:00
scripts Merge branch 'rev-via-head' 2022-12-11 22:18:54 -07:00
test The rest of partitioned database support (#131) 2020-08-22 07:44:46 -07:00
.gitignore chore(packages): update 2018-12-09 13:39:50 -08:00
.jshintrc initial 2017-07-11 22:22:43 -07:00
.npmignore fix(npmignore): ignore cache 2017-10-27 10:24:11 -07:00
API.md The rest of partitioned database support (#131) 2020-08-22 07:44:46 -07:00
beautify.json initial 2017-07-11 22:22:43 -07:00
BUILDING.md doc(building) (#109) 2019-03-23 15:32:27 -07:00
enable-cors.sh refactor(all): simplify naming (#3) 2017-07-13 23:48:34 -07:00
GETTING-STARTED.md doc(getting-started): missing title 2019-01-04 12:00:33 -06:00
index.js initial 2017-07-11 22:22:43 -07:00
LICENSE Initial commit 2017-07-11 22:13:23 -07:00
package-lock.json 1.5.0 2020-09-22 21:40:25 -07:00
package.json 1.5.0 2020-09-22 21:40:25 -07:00
README.md The rest of partitioned database support (#131) 2020-08-22 07:44:46 -07:00
reset-db.js 100% coverage (#4) 2017-07-18 07:45:32 -07:00
run-couchdb-1-docker.sh test(couchdb-1) (#7) 2017-07-18 09:14:16 -07:00
run-couchdb-docker.sh feat(couchdb): upgrade to 2.2.0 2018-09-22 07:33:03 -07:00
SLOUCH.md doc(slouch): fix headings 2019-01-04 11:59:52 -06:00
TESTING.md test(circleci): upgrade to 2.0 (#80) 2018-03-12 19:53:10 -07:00

slouch

Greenkeeper badge Circle CI

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

Testing/Contributing

Building