Back to Explore

jonathanong/ee-first

GitHub
1 watchersOpen source

Last release:

`ee-first` is a Node.js utility that invokes a listener when the first event is emitted among a set of event emitter and event-name pairs. It listens to the specified events, calls the listener only once (including passing the first `error` if it occurs first), and supports canceling to remove listeners before invocation.

Project status

  • The repository appears not actively maintained, with the last known upstream push on 2019-04-27 and the most recent tagged update shown in the provided history dating back to 2015-05-25 (v1.1.1), so it is effectively dormant/maintenance-only as of 2026-06-09.
  • The apparent update cadence was early and sporadic (clustered releases in 2014-2015), followed by multi-year inactivity with no evidence of ongoing updates.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 1.1.1

    Release 1.1.1 has no publisher-provided release notes. The code changes are small and primarily involve internal refactoring and stricter module execution, plus updates to the CI test matrix and dev dependency versions.

  • 1.1.0

    Version 1.1.0 adds support for cancelling a group of EventEmitter listeners before the matching event fires. The implementation changes how cleanup and callback invocation are wired, and exposes a new cancel API on the returned thunk function. README and tests were updated accordingly, but the provided release notes are empty.

    Features
  • 1.0.5

    Release 1.0.5 was published on 2014-08-15, but no release notes or change log details were provided by the publisher. As a result, there is no documented information available to identify new features, breaking changes, bug fixes, security, or dependency updates for this version.

  • 1.0.4

    Release 1.0.4 contains documentation and tooling updates, including a more complete README, added Travis CI configuration for older Node.js versions, and new test instrumentation for coverage and leak checking. The provided diff does not include any changes to the runtime source file(s) (for example, index.js), so there is no direct evidence of behavioral changes in the library implementation.

  • 1.0.3

    Release 1.0.3 contains no published release notes. The code change in index.js updates the main callback to capture and forward the full event arguments, and it also changes how the input arrays are iterated (removing a mutation caused by Array.shift).

    Features
  • 1.0.2

    Version 1.0.2 makes a small internal change to how `ee-first` computes and returns the “args” value, and it removes an external dependency (`sliced`). The release notes provided are empty, so the functional behavior changes below are not documented.

    Breaking
  • 1.0.1

    Release 1.0.1 includes a small implementation change in index.js and adds a new dependency in package.json. No release notes were provided, so the only source of truth is the code diff.

  • 1.0.0

    Release 1.0.0 was published on 2014-06-11, but no release notes were provided by the publisher. As a result, there is no documented information about new features, breaking changes, bug fixes, security updates, performance improvements, migrations, or dependency updates for this version.