@algolia/events
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

events Build Status

Algolia's fork of Node's event emitter for all engines.

Specifics:

  • v1.1.1-based, as it's much smaller and we don't use the newer features
  • builtin type-definitions
  • better interop with ESM, while still being cjs

Install

npm install events

Require

var EventEmitter = require('events');

Usage

See the node.js event emitter docs

/@algolia/events/

    Package Sidebar

    Install

    npm i @algolia/events

    Weekly Downloads

    673,908

    Version

    4.0.1

    License

    MIT

    Unpacked Size

    13 kB

    Total Files

    6

    Last publish

    Collaborators

    • jasonberry
    • dhaya.b
    • instantsearch-bot
    • haroenv