0.2.0 • Published 6 years ago

@dalisoft/events v0.2.0

Weekly downloads
75
License
MIT
Repository
github
Last release
6 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

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8-rc

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago