0.1.2 • Published 9 years ago

burst_consequence v0.1.2

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

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);
0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago