# connor4312/cockatiel

🐦 A resilience and fault-handling library. Supports Backoffs, Retries, Circuit Breakers, Timeouts, Bulkhead Isolation, and Fallbacks.

Repository: https://github.com/connor4312/cockatiel
Canonical: https://ross.abutalabs.com/products/cockatiel
Language: TypeScript
License: MIT
License Family: permissive
Topics: circuit-breaker, bulkhead, cancellationtoken, backoffs, cancellation, fault-handling, bulkhead-isolation, typescript, nodejs
Last push: 2026-08-20T23:32:56+00:00

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

## Adoption (not part of the score)
Stars 1815, forks 60 (observed 2026-08-28T04:05:39.895860+00:00)

## What it is
Cockatiel is a TypeScript/Node.js resilience and transient-fault-handling library inspired by .NET's Polly. It lets developers compose policies like Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent, dependency-free manner.

## Use cases
- retry failed http requests with exponential backoff
- add a circuit breaker around database calls
- add timeouts to async operations in node
- limit concurrent calls with bulkhead isolation
- provide fallback values when a service fails
- combine resilience policies for microservice calls

## When to choose
- you're building Node.js or TypeScript services that call flaky external dependencies
- you want a Polly-like composable resilience policy API in JavaScript
- you need zero-dependency fault handling with circuit breakers and retries

## When to avoid
- you're in .NET and can use Polly directly
- you need resilience at the infrastructure/proxy level rather than in application code
- your project isn't JavaScript/TypeScript

## Facets
- artifact type: library
- maturity: active
- function: error-handling, rate-limiting, concurrency, middleware
- domain: developer-tools, backend, microservices, apis
- platform: cross-platform
- tags: resilience, circuit-breaker, retry, backoff, bulkhead-isolation, timeout, fallback, polly-inspired, fault-tolerance, nodejs, typescript

## Member repositories
- connor4312/cockatiel (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.895860+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-30T03:20:38.569137+00:00, confidence not recorded.
  - readme: https://github.com/connor4312/cockatiel (fetched 2026-08-28T04:05:39.895860+00:00, sha 20851610203f)
  - registry_npm: https://registry.npmjs.org/cockatiel (fetched 2026-08-29T10:59:35.013854+00:00, sha f196199cacaf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
