Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.
This repository was archived by the owner on May 18, 2026. It is now read-only.

Fix EventEmitter2 problem on browsers #22

Description

@thejmazz

In Node this works:

const EventEmitter2 = require('eventemitter2').EventEmitter2

but in the browser no object is returned, and instead need to do this:

const EventEmitter2 = require('eventemitter2')

Problem will go away if events are dropped.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions