# riot-observable

> Simple script to send and receive events

Latest version **3.0.0** (published 2016-11-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install riot-observable
pnpm add riot-observable
yarn add riot-observable
bun add riot-observable
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2016-11-19 |
| First published | 2015-08-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 68 |
| Author | Muut, Inc. and other contributors |
| Maintainers | gianlucaguarini, tipiirai, cognitom |
| Keywords | riot, observable, events |

## Links

- npm: https://www.npmjs.com/package/riot-observable
- Repository: https://github.com/riot/observable
- Homepage: https://github.com/riot/observable#readme
- Issues: https://github.com/riot/observable/issues
- npm.io page: https://npm.io/package/riot-observable

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 3.0.0 (latest) — 2016-11-19
- 3.0.0-rc — 2016-11-15
- 2.5.0 — 2016-07-24
- 3.0.0-alpha.2 — 2016-07-24
- 3.0.0-alpha.1 — 2016-05-23
- 2.4.2 — 2016-04-16
- 2.4.1 — 2016-04-09
- 2.4.0 — 2016-04-08
- 2.3.15 — 2016-02-27
- 2.3.14 — 2015-12-22
- 2.3.13 — 2015-12-20
- 2.3.12 — 2015-12-19
- 2.3.11 — 2015-11-22
- 2.3.1 — 2015-11-09
- 2.3.1-beta — 2015-11-07
- … 8 more at https://npm.io/package/riot-observable/versions

## README

[![Build Status][travis-image]][travis-url]
[![Code Quality][codeclimate-image]][codeclimate-url]
[![NPM version][npm-version-image]][npm-url]
[![NPM downloads][npm-downloads-image]][npm-url]
[![MIT License][license-image]][license-url]
[![Coverage Status][coverage-image]][coverage-url]

# Observable

Observable is a generic tool to send and receive events. It's a common pattern to isolate modules without forming a dependency or "coupling". By using events a large program can be broken into smaller and simpler units. Modules can be added, removed, or modified without affecting the other parts of the application.

A common practice is to split the application into a single core and multiple extensions. The core sends events any time something remarkable happens: a new item is being added, an existing item is being removed, or something is loaded from the server.

By using the observable the extensions can listen to these events and react to them. They extend the core so that the core is not aware of these modules. This is called "loose coupling".

These extensions can be custom tags (UI components) or non-UI modules.

Once the core and events are carefully designed the team members are enabled to develop the system on their own without disturbing others.

## Documentation

- [API (English)](doc/)

## Installation

### Npm

`$ npm install riot-observable --save`

### Bower

`$ bower install riot-observable --save`

[travis-image]:https://img.shields.io/travis/riot/observable.svg?style=flat-square
[travis-url]:https://travis-ci.org/riot/observable

[license-image]:http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square
[license-url]:LICENSE.txt

[npm-version-image]:http://img.shields.io/npm/v/riot-observable.svg?style=flat-square
[npm-downloads-image]:http://img.shields.io/npm/dm/riot-observable.svg?style=flat-square
[npm-url]:https://npmjs.org/package/riot-observable

[coverage-image]:https://img.shields.io/coveralls/riot/observable/master.svg?style=flat-square
[coverage-url]:https://coveralls.io/r/riot/observable/?branch=master

[codeclimate-image]:https://img.shields.io/codeclimate/github/riot/observable.svg?style=flat-square
[codeclimate-url]:https://codeclimate.com/github/riot/observable

---
_Source: https://npm.io/package/riot-observable · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
