Files
nala 2d23157e40
tests / ci (push) Canceled after 0s
versao nrgocios
2026-10-16 13:06:58 +02:00
..
2026-10-16 13:06:58 +02:00
2026-10-16 13:06:58 +02:00
2026-10-16 13:06:58 +02:00
2026-10-16 13:06:58 +02:00

is-binary-path Build Status

Check if a filepath is a binary file

Install

$ npm install --save is-binary-path

Usage

var isBinaryPath = require('is-binary-path');

isBinaryPath('src/unicorn.png');
//=> true

isBinaryPath('src/unicorn.txt');
//=> false

License

MIT © Sindre Sorhus