# @nathanfaucett/event_emitter

> EventEmitter for the browser and node.js

Latest version **0.0.5** (published 2018-04-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nathanfaucett/event_emitter
pnpm add @nathanfaucett/event_emitter
yarn add @nathanfaucett/event_emitter
bun add @nathanfaucett/event_emitter
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2018-04-03 |
| First published | 2016-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 12.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nathan Faucett |
| Maintainers | nathanfaucett |
| Keywords | event, emitter, event_emitter, event_emitter.js |

## Links

- npm: https://www.npmjs.com/package/@nathanfaucett/event_emitter
- Repository: https://gitlab.com/nathanfaucett/event_emitter
- Homepage: https://gitlab.com/nathanfaucett/event_emitter#README
- Issues: https://gitlab.com/nathanfaucett/event_emitter/issues
- npm.io page: https://npm.io/package/@nathanfaucett/event_emitter

## Dependencies (7)

- [@nathanfaucett/keys](https://npm.io/package/@nathanfaucett/keys.md) 0.0
- [@nathanfaucett/apply](https://npm.io/package/@nathanfaucett/apply.md) 0.0
- [@nathanfaucett/inherits](https://npm.io/package/@nathanfaucett/inherits.md) 0.0
- [@nathanfaucett/is_number](https://npm.io/package/@nathanfaucett/is_number.md) 0.0
- [@nathanfaucett/fast_slice](https://npm.io/package/@nathanfaucett/fast_slice.md) 0.0
- [@nathanfaucett/is_function](https://npm.io/package/@nathanfaucett/is_function.md) 0.0
- [@nathanfaucett/is_null_or_undefined](https://npm.io/package/@nathanfaucett/is_null_or_undefined.md) 0.0

## 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

- 0.0.5 (latest) — 2018-04-03
- 0.0.4 — 2018-03-18
- 0.0.3 — 2016-10-05
- 0.0.2 — 2016-09-17
- 0.0.1 — 2016-07-14

## README

# EventEmitter

EventEmitter for the browser and node.js

```javascript
var EventEmitter = require("@nathanfaucett/event_emitter");

var emitter = new EventEmitter();

emitter.on("test", function handler(a, b, c) {
	console.log(a, b, c);
	emitter.off("test", handler);
});

emitter.emit(1, 2, 3);
emitter.emitArgs([1, 2, 3]);
emitter.emitArg(1);
```

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