is-binary-path
v3.0.0
Published
Check if a file path is a binary file
Downloads
174,733,273
Readme
is-binary-path
Check if a file path is a binary file
Install
npm install is-binary-path
Usage
import isBinaryPath from 'is-binary-path';
isBinaryPath('source/unicorn.png');
//=> true
isBinaryPath('source/unicorn.txt');
//=> false
Related
- binary-extensions - List of binary file extensions
- is-text-path - Check if a filepath is a text file