Skip to content

tbleckert/events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple event manager

NPM

Install

npm i @bleckert/events or yarn add @bleckert/events

Usage

import Events from '@bleckert/events';

const events = new Events();

events.on('test', console.log);
events.emit('test', 'foo', 'bar');

About

Simple event manager

Resources

Stars

Watchers

Forks

Packages

No packages published