JSPM

@algolia/events

4.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 912586
  • Score
    100M100P100Q175886F
  • License MIT

Node's event emitter for all engines.

Package Exports

  • @algolia/events
  • @algolia/events/events.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@algolia/events) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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