# rxjs-event-emitter

> Event Emitter based on RxJS

Latest version **1.0.0** (published 2017-12-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install rxjs-event-emitter
pnpm add rxjs-event-emitter
yarn add rxjs-event-emitter
bun add rxjs-event-emitter
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-12-15 |
| First published | 2017-12-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | Netanel Basal |

## Links

- npm: https://www.npmjs.com/package/rxjs-event-emitter
- Repository: https://github.com/NetanelBasal/rxjs-event-emitter
- Homepage: https://github.com/NetanelBasal/rxjs-event-emitter#readme
- Issues: https://github.com/NetanelBasal/rxjs-event-emitter/issues
- npm.io page: https://npm.io/package/rxjs-event-emitter

## Recent versions

- 1.0.0 (latest) — 2017-12-15

## README

[![Build Status](https://semaphoreci.com/api/v1/netanel7799/ngx-take-until-destroy/branches/master/badge.svg)](https://semaphoreci.com/netanel7799/ngx-take-until-destroy)
[![npm](https://img.shields.io/npm/l/ngx-take-until-destroy.svg)]()

# Event Emitter

##### Event Emitter based on RxJS

## Installation
`npm install rxjs-event-emitter --save`

## Usage
```ts
import { EventEmitter } from "rxjs-event-emitter";

const emitter = new EventEmitter();

const subscription = emitter.on('event', (data) => { 
    // do something
});

emitter.emit('event', data);

subscription.unsubscribe();

// Destory all listeners
emitter.destroy();
```

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