loop.js
Bare-bones pub/sub event emitter. Inspired by knot.js. 347b gzipped.
Install
npm i loopjs --save
Usage
const events = events events // logs 'Hello World!'
Loop can also accept an object to extend with its emitter methods.
const instance = consoledirinstance /*{ on, emit, play, pause}*/
MIT License