# ievent

> a very light JavaScript Event System

Latest version **1.0.8** (published 2018-01-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install ievent
pnpm add ievent
yarn add ievent
bun add ievent
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2018-01-17 |
| First published | 2017-04-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | flypie2 |
| Maintainers | flypie2 |

## Links

- npm: https://www.npmjs.com/package/ievent
- Repository: https://github.com/flypie2/Event
- Homepage: https://github.com/flypie2/Event#readme
- Issues: https://github.com/flypie2/Event/issues
- npm.io page: https://npm.io/package/ievent

## Recent versions

- 1.0.8 (latest) — 2018-01-17
- 1.0.5 — 2018-01-12
- 1.0.4 — 2017-11-07
- 1.0.3 — 2017-07-28
- 1.0.2 — 2017-04-27
- 1.0.1 — 2017-04-27
- 1.0.0 — 2017-04-27

## README

# Event
a very light JavaScript Event System

# install

```
npm install ievent -S
```

# usage

```javascript
import iEvent from 'ievent'

iEvent.on("hello", (name, age) => {
  console.log("hello " + name + " age=" + age);
});

iEvent.on("hello", (name, age) => {
  console.log("hello " + name + " age=" + age + "...");
});

iEvent.once('hi',name=>{
  console.log('hi '+name)
})

// Event.off("hello");

iEvent.emit("hello", "flypie", 21);

iEvent.emit('hi','flypie')

```

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