Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/observables. A spec-faithful yet ergonomic TC39-inspired Observable library with detailed ty
Something went wrong. Try again.
Files
- TypeScript 100%
README.md
# @okikio/observables
[](https://github.com/okikio/observables/actions/workflows/ci.yml)
[](https://jsr.io/@okikio/observables)
[](https://www.npmjs.com/package/@okikio/observables)
[](https://bundlejs.com/?q=@okikio/observables&treeshake=[{+Observable,+pipe,+map,+filter+}])
[](./LICENSE)
[Documentation](https://jsr.io/@okikio/observables) •
[npm](https://www.npmjs.com/package/@okikio/observables) •
[GitHub](https://github.com/okikio/observables#readme) • [License](./LICENSE)
<!-- [](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…