Skip to content

redgeoff/slouch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 23, 2020
862ce00 · Sep 23, 2020
Oct 3, 2018
Jul 12, 2017
Oct 30, 2019
Aug 22, 2020
Aug 22, 2020
Dec 9, 2018
Jul 12, 2017
Oct 27, 2017
Aug 22, 2020
Mar 23, 2019
Jan 4, 2019
Jul 12, 2017
Aug 22, 2020
Jan 4, 2019
Mar 13, 2018
Jul 12, 2017
Jul 14, 2017
Jul 12, 2017
Sep 23, 2020
Sep 23, 2020
Jul 18, 2017
Jul 18, 2017
Sep 22, 2018

Repository files navigation

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