0.2.0 • Published 4 years ago

@dalisoft/events v0.2.0

Weekly downloads
75
License
MIT
Repository
github
Last release
4 years ago

events

Greenkeeper badge

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

npm i @dalisoft/events

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

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

// Browser
// window.Events OR Events

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

Usage

const ev = new Events();

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

License

MIT

0.2.0

4 years ago

0.0.11

4 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8-rc

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago