@robotlegsjs/eventemitter3

RobotlegsJS integration with EventEmitter3

Usage no npm install needed!

<script type="module">
  import robotlegsjsEventemitter3 from 'https://cdn.skypack.dev/@robotlegsjs/eventemitter3';
</script>

README

RobotlegsJS EventEmitter3

GitHub license Gitter chat npm version code style: prettier

Installation

You can get the latest release and the type definitions using NPM:

npm install @robotlegsjs/eventemitter3 --save

Or using Yarn:

yarn add @robotlegsjs/eventemitter3

The EventEmitter3 dependency is added as peerDependencies, allowing the final user to choose the desired version of the eventemitter3 library on each project.

The @robotlegsjs/eventemitter3 package is compatible with any version of eventemitter3 library.

As example, when you would like to use the version 3.1.0 of eventemitter3 library, you can run:

npm install eventemitter3@3.1.0 reflect-metadata --save

or

yarn add eventemitter3@3.1.0 reflect-metadata

Then follow the installation instructions of RobotlegsJS library to complete the setup of your project.

Dependencies

Peer Dependencies

RobotlegsJS EventEmitter3 for enterprise

Available as part of the Tidelift Subscription

The maintainers of @robotlegsjs/eventemitter3 and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

License

MIT