# @elishacook/simple-events

> A simple event publisher

Latest version **0.4.2** (published 2015-10-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @elishacook/simple-events
pnpm add @elishacook/simple-events
yarn add @elishacook/simple-events
bun add @elishacook/simple-events
```

## 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.4.2 |
| Published | 2015-10-02 |
| First published | 2015-10-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Elisha Fitch-Cook |
| Maintainers | elishacook |

## Links

- npm: https://www.npmjs.com/package/@elishacook/simple-events
- Repository: https://github.com/elishacook/simple-events
- Issues: https://github.com/elishacook/simple-events/issues
- npm.io page: https://npm.io/package/@elishacook/simple-events

## Recent versions

- 0.4.2 (latest) — 2015-10-02
- 0.4.1 — 2015-10-02
- 0.4.0 — 2015-10-02

## README

# SimpleEvents

[![Build Status][1]][2]

`.on`, `.off`, `.once`, etc. Have a look at the unit tests for usage examples.

Can be easily used as a mixin:

```js
var SimpleEvents = require('simple-events')

var FooBar = function ()
{
    SimpleEvents.mixin(this)
}

var foobar = new FooBar()
foobar.on('stuff', function (x) { console.log(x + 10) })
foobar.emit('stuff', 10) // 20
```

## Install

You can install using npm.

```
npm install @elishacook/simple-events
```

[1]: https://secure.travis-ci.org/elishacook/simple-events.svg
[2]: https://travis-ci.org/elishacook/simple-events

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