Back to Explore

sindresorhus/binary-extensions

GitHub
1 watchersOpen source

Last release:

binary-extensions is a small npm package that provides a JSON-based list of binary file extensions. It is useful when you need to quickly classify or filter files by their extension in your tooling.

Project status

  • Maintenance status: The repo appears quiet/dormant for current purposes, with the last upstream update on 2025-05-04, which is over a year ago relative to today (2026-06-11). No newer updates are evident in the provided history.
  • Update cadence: Updates are infrequent and bursty, with a gap of about 1 year between v3.1.0 (2025-05-04) and the prior update v2.3.0 (2024-04-30). Historically, many changes also arrived years apart, suggesting no steady cadence.

AI summary generated

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

Recent updates

  • v3.1.0

    v3.1.0 adds support for the CR3 file extension. The change updates the published extension list and bumps the package version to 3.1.0.

    Features
  • v3.0.0

    v3.0.0 is a major release of binary-extensions that switches the package to pure ESM and raises the minimum Node.js version. It also changes how the module is exported for TypeScript and runtime usage (default export instead of the previous export assignment).

    Breaking
  • v2.3.0

    Release v2.3.0 primarily expands the extension list by adding Illustrator/Photoshop-related file extensions: afdesign, afphoto, and afpub. The release notes only mention that new content in binary-extensions.json.

    Features
  • v2.2.0

    Release v2.2.0 mainly adds OpenDocument file extensions to the binary extensions dataset. The diff also includes a CI pipeline migration from Travis to GitHub Actions and a README badge change, neither of which is mentioned in the release notes.

    Features
  • v2.1.0

    Release v2.1.0 primarily updates the binary-extensions data set to include additional Linux package-related formats. The main functional change is adding new file extensions to binary-extensions.json, while the rest of the diff includes repository metadata and CI/readme updates.

    Features
  • v2.0.0

    v2.0.0 updates the package to require Node.js 8 or newer and introduces TypeScript type definitions for the exported list. The runtime export remains the same kind of data (an array of binary file extensions), but the package layout and entrypoint wiring changed.

    BreakingFeatures
  • v1.13.0

    v1.13.0 updates the binary-extensions dataset and tooling. The release notes only mention adding the snk, suo, and nupkg extensions and removing csv, but the diff shows much broader changes to the extension list.

    BreakingFeatures
  • v1.1.0

    Release v1.1.0 switches the package entry point so consumers load the JSON data file directly via package.json "main". The old JavaScript entry file (index.js) was removed from the published package.

    Breaking
  • v1.0.2

    v1.0.2 adds support for three additional binary file extensions: apk, ipa, and jar. The only functional change in the code diff is updating the extension list, plus a package version bump.

    Features
  • v1.0.1

    Release v1.0.1 bumps the package version and updates the binary-extensions list. The change adds additional file extensions to binary-extensions.json.

    Features