# flatiron/cradle

a high-level CouchDB client for Node.js

Repository: https://github.com/flatiron/cradle
Canonical: https://ross.abutalabs.com/products/flatiron-cradle
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-07-31T22:10:02+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 6050, "days_push": 763, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1369, forks 173 (observed 2026-08-28T04:04:31.712789+00:00)

## What it is
Cradle is a high-level, asynchronous CouchDB client library for Node.js with built-in write-through caching. It abstracts CouchDB's REST API behind a friendlier JavaScript API for saving, fetching, and managing documents.

## Use cases
- connect to CouchDB from Node.js
- save and retrieve documents in CouchDB
- cache CouchDB documents for faster reads
- create and manage CouchDB databases programmatically
- avoid hand-writing CouchDB REST API calls

## When to choose
- you use CouchDB in a Node.js application and want a friendlier API than raw HTTP
- you want built-in write-through caching for document reads and updates

## When to avoid
- you use a database other than CouchDB
- you need a client with recent active development or modern async/await-first API
- you need direct low-level control over CouchDB's REST API

## Facets
- artifact type: library
- maturity: maintenance
- function: database-driver, caching, http-client
- domain: databases, backend, developer-tools
- platform: -
- tags: couchdb, nosql, document-database, async, nodejs, javascript

## Member repositories
- flatiron/cradle (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.712789+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:58.844216+00:00, confidence not recorded.
  - readme: https://github.com/flatiron/cradle (fetched 2026-08-28T04:04:31.712789+00:00, sha 5f3c08bf5b00)
  - registry_npm: https://registry.npmjs.org/cradle (fetched 2026-08-29T11:58:09.031858+00:00, sha 3d9e793360c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
