Back to Explore

npm/abbrev-js

GitHub
1 watchersOpen source

Last release:

abbrev-js is a JavaScript package that provides abbreviation matching similar to Ruby’s Abbrev module. It helps command-line scripts and other code accept shorthand inputs by mapping partial strings (like "fo") to the best matching full options.

Project status

  • Actively maintained: The repository has an upstream push on 2026-06-18, and npm/abbrev-js produced an update v5.0.0 on 2026-05-08, indicating ongoing work rather than dormancy.
  • Update cadence (apparent): Updates are intermittent but recent, with v4.0.0 on 2025-10-20 and v5.0.0 on 2026-05-08 (about 6 to 7 months between major updates), plus additional activity (template and CI-related changes) reflected in the newer release.

AI summary generated

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

Recent updates

  • v5.0.0

    This v5.0.0 release updates the package version and widens the supported Node.js engine range. It also applies template changes (from npmcli/template-oss) that affect repository tooling and CI configuration, including GitHub Actions versions and test script behavior.

    Breaking
  • v4.0.0

    v4.0.0 primarily updates the supported Node.js engine range and migrates the project test setup from the external tap runner to Node.js built-in node:test. The release notes document the Node engine change and the tap-to-node:test migration, while the code diff shows broader CI and test harness adjustments as well.

    BreakingFeatures
  • v3.0.1

    v3.0.1 includes a bug fix so `abbrev` correctly handles being called with a single string argument. It also bumps `@npmcli/template-oss` from 4.23.3 to 4.24.3 and updates associated release/changelog metadata.

  • v3.0.0

    Release v3.0.0 primarily updates the package Node.js engine support to require Node ^18.17.0 or >=20.5.0. The diff also shows substantial repository and CI tooling changes (ESLint script/config, GitHub Actions upgrades, and workflow restructuring) that are not described in the release notes.

    Breaking
  • v2.0.0

    abbrev-js v2.0.0 introduces a Node.js compatibility range and removes the monkeyPatch API. It also includes a small bug fix related to replacing deprecated String.prototype.substr().

    Breaking