Back to Explore

sindresorhus/binary-extensions

GitHub
1 watchersOpen source

Last release: 5/4/2025

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

  • The source appears actively maintained, with a recent update on 2025-05-04 (v3.1.0) adding support for the CR3 extension and updating the published extension list.
  • Apparent update cadence is irregular but ongoing, with updates in 2025-05 and a previous one in 2024-04-30 (v3.0.0), suggesting maintenance rather than rapid continuous iteration.

AI summary generated Today

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

Recent updates

  • v3.1.0

    5/4/2025

    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

    4/30/2024

    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

    3/14/2024

    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

    1/10/2021

    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

    6/27/2020

    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

    4/18/2019

    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

    2/3/2019

    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

    2/6/2015

    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

    2/6/2015

    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

    2/6/2015

    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