burst_consequence

0.1.2 • Public • Published

Consequence

Install

npm install burst_consequence

Usage

import {on, off, emit} from 'burst_consequence'

// Namespace events
on('namespace', 'event name', myListener);
off('namespace', 'event name', myListener);
emit('namespace', 'event name', params);

// Object events
on(something, 'my event', myListener);
off(something, 'my event', myListener);
emit(something, 'my event', myListener);

Readme

Keywords

none

Package Sidebar

Install

npm i burst_consequence

Weekly Downloads

0

Version

0.1.2

License

ISC

Last publish

Collaborators

  • hugeen