# krevent

> ```ts

Latest version **2.3.1** (published 2021-04-20) · ISC license · 0 weekly downloads

## Install

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

## 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 | 2.3.1 |
| Published | 2021-04-20 |
| First published | 2019-09-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | karikera |

## Links

- npm: https://www.npmjs.com/package/krevent
- Repository: https://github.com/karikera/krevent
- Homepage: https://github.com/karikera/krevent#readme
- Issues: https://github.com/karikera/krevent/issues
- npm.io page: https://npm.io/package/krevent

## Dependencies (1)

- [@mcbe/dummy-console](https://npm.io/package/@mcbe/dummy-console.md) ^2.0.4

## Recent versions

- 2.3.1 (latest) — 2021-04-20
- 2.3.0 — 2021-04-20
- 2.2.0 — 2021-01-15
- 2.1.0 — 2020-12-28
- 2.0.1 — 2019-11-07
- 2.0.0 — 2019-11-07
- 1.1.3 — 2019-11-06
- 1.1.1 — 2019-11-06
- 1.1.0 — 2019-11-06
- 1.0.3 — 2019-10-03
- 1.0.2 — 2019-10-01
- 1.0.1 — 2019-10-01
- 1.0.0 — 2019-09-30

## README

```ts

import Event from 'krevent';

const evs = new Event<(v1:number, v2:string)=>void>();

// attach event listener
evs.on((v1, v2)=>{ console.log(v1, v2); });

// fire event
evs.fire(1234, 'string');

```

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