[READ-ONLY] Mirror of https://github.com/okikio/observables. A spec-faithful yet ergonomic TC39-inspired Observable library with detailed ty
README.md
# @okikio/observables [![CI](https://github.com/okikio/observables/actions/workflows/ci.yml/badge.svg)](https://github.com/okikio/observables/actions/workflows/ci.yml) [![JSR](https://jsr.io/badges/@okikio/observables)](https://jsr.io/@okikio/observables) [![npm version](https://img.shields.io/npm/v/%40okikio%2Fobservables?logo=npm&label=npm)](https://www.npmjs.com/package/@okikio/observables) [![Bundle Size](https://deno.bundlejs.com/badge?q=@okikio/observables&treeshake=[{+Observable,+pipe,+map,+filter+}]&style=flat)](https://bundlejs.com/?q=@okikio/observables&treeshake=[{+Observable,+pipe,+map,+filter+}]) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [Documentation](https://jsr.io/@okikio/observables) • [npm](https://www.npmjs.com/package/@okikio/observables) • [GitHub](https://github.com/okikio/observables#readme) • [License](./LICENSE) <!-- [![Open Bundle](https://bundlejs.com/badge-light.svg)](https://bundlejs.com/?q=@okikio/observables&bundle "Check the total bundle size of @okikio/observables") --> A **spec-faithful** yet ergonomic TC39-inspired Observable implementation that gives you one consistent way to handle all async data in JavaScript. Built for Deno v2+, Node, Bun, and modern browsers, `@okikio/observables` keeps the TC39 Observable proposal's mental model while adding the parts that make day-to-day app code easier to write: - **Observable pipelines that feel familiar** if you already know `Array.map()` and `Array.filter()` - **Web Streams-powered backpressure** so fast producers do not silently bloat memory - **Deterministic cleanup** via `unsubscribe()`, `using`, and `Symbol.dispose` - **Built-in event primitives** for pub/sub and type-safe event dispatch - **Four error modes** so you can choose between recovery, filtering, and fail-fast behavior **Start here:** [Installation](#installation) • [Quick Start](#quick-start) • [API](#api) • [Advanced Usage](#advanced-usage) • [FAQ](#faq) • [Contributing](#contributing) ## Start Here Install with the…