# binary-extensions

> List of binary file extensions

Latest version **3.2.0** (published 2026-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install binary-extensions
pnpm add binary-extensions
yarn add binary-extensions
bun add binary-extensions
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.2.0 |
| Published | 2026-09-09 |
| First published | 2015-01-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=18.20 |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 89 |
| Author | Sindre Sorhus |
| Maintainers | paulmillr, sindresorhus |
| Keywords | binary, extensions, extension, file, json, list, array |

## Links

- npm: https://www.npmjs.com/package/binary-extensions
- Repository: https://github.com/sindresorhus/binary-extensions
- Homepage: https://github.com/sindresorhus/binary-extensions#readme
- Issues: https://github.com/sindresorhus/binary-extensions/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/binary-extensions

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 3.2.0 (latest) — 2026-09-09
- 3.1.0 — 2025-05-04
- 3.0.0 — 2024-04-30
- 2.3.0 — 2024-03-14
- 2.2.0 — 2021-01-10
- 2.1.0 — 2020-06-27
- 2.0.0 — 2019-04-18
- 1.13.1 — 2019-03-27
- 1.13.0 — 2019-02-03
- 1.12.0 — 2018-09-18
- 1.11.0 — 2017-11-18
- 1.10.0 — 2017-08-14
- 1.9.0 — 2017-07-22
- 1.8.0 — 2016-12-03
- 1.7.0 — 2016-10-03
- … 12 more at https://npm.io/package/binary-extensions/versions

## README

# binary-extensions

> List of binary file extensions

The list is just a [JSON file](binary-extensions.json) and can be used anywhere.

## Install

```sh
npm install binary-extensions
```

## Usage

```js
import binaryExtensions from 'binary-extensions';

console.log(binaryExtensions);
//=> ['3ds', '3g2', …]
```

## Related

- [is-binary-path](https://github.com/sindresorhus/is-binary-path) - Check if a file path is a binary file
- [text-extensions](https://github.com/sindresorhus/text-extensions) - List of text file extensions

---
_Source: https://npm.io/package/binary-extensions · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
