tp-events
Intro
Event based JavaScript for the browser with nodejs events api. For more: Nodejs Events.
Example
{} const myEmitter = ;myEmitter;myEmitter;
Install
API
Please refer to the document on Node.js v9.6.1 Events, API is the same.
Development
npm t
: Run test suitenpm start
: Runnpm run build
in watch modenpm run test:watch
: Run test suite in interactive watch modenpm run test:prod
: Run linting and generate coveragenpm run build
: Generate bundles and typings, create docsnpm run lint
: Lints codenpm run commit
: Commit using conventional commit style (husky will tell you to use it if you haven't 😉)
Reference
License
MIT