@rocket.chat/emitter
TypeScript icon, indicating that this package has built-in type declarations

0.31.25 • Public • Published

Rocket.Chat

@rocket.chat/emitter

Event Emitter by Rocket.Chat


npm@latest npm@next npm downloads License: MIT

deps npm bundle size

Install

Add @rocket.chat/emitter as a dependency:

npm i @rocket.chat/emitter

# or, if you are using yarn:

yarn add @rocket.chat/emitter

Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the issues.

Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

yarn build

Linting

To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:

yarn lint

Some linter warnings and errors can be automatically fixed:

yarn lint-and-fix

Running tests

Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:

yarn test

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i @rocket.chat/emitter

    Weekly Downloads

    8,168

    Version

    0.31.25

    License

    MIT

    Unpacked Size

    68.4 kB

    Total Files

    11

    Last publish

    Collaborators

    • rocketchat-buildmaster
    • geekgonecrazy
    • rodrigok
    • sing.li
    • diegosampaio
    • gazzo
    • dgubert
    • tassoevan