# @dalisoft/events

> One more event emitter for Node.js and browser

Latest version **0.2.0** (published 2019-11-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dalisoft/events
pnpm add @dalisoft/events
yarn add @dalisoft/events
bun add @dalisoft/events
```

## Health

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

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2019-11-16 |
| First published | 2019-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | dalisoft |
| Maintainers | dalisoft |
| Keywords | event, emit, performant |

## Links

- npm: https://www.npmjs.com/package/@dalisoft/events
- Repository: https://github.com/dalisoft/event
- Homepage: https://github.com/dalisoft/event#readme
- Issues: https://github.com/dalisoft/event/issues
- npm.io page: https://npm.io/package/@dalisoft/events

## Dependencies (1)

- [@dalisoft/args](https://npm.io/package/@dalisoft/args.md) ^0.1.1

## 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.2.0 (latest) — 2019-11-16
- 0.0.11 — 2019-11-14
- 0.0.10 — 2019-06-19
- 0.0.9 — 2019-05-28
- 0.0.8-rc — 2019-05-28
- 0.0.7 — 2019-05-09
- 0.0.6 — 2019-05-06
- 0.0.5 — 2019-05-05
- 0.0.4 — 2019-05-04
- 0.0.3 — 2019-05-04
- 0.0.2 — 2019-05-04
- 0.0.1 — 2019-05-04

## README

# events

[![Greenkeeper badge](https://badges.greenkeeper.io/dalisoft/event.svg)](https://greenkeeper.io/)

One more event emitter for Node.js and browser

## Features

- Performant
- Easy
- UMD compatible

## Installation

We recommend install via `npm` because of it's cache and flat node modules tree

```bash
npm i @dalisoft/events
```

then you able to import to Node.js/Browser easily

```js
// Node.js
const Events = require("@dalisoft/events");

// Browser
// window.Events OR Events

// ES6
import Events from "@dalisoft/events";
```

## Usage

```js
const ev = new Events();

ev.on("hello", name => console.log("Hello ", name));
ev.emit("hello", "world");
```

## License

MIT

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