is-binary-path
Advanced tools
Weekly downloads
Readme
Check if a file path is a binary file
$ npm install is-binary-path
const isBinaryPath = require('is-binary-path');
isBinaryPath('source/unicorn.png');
//=> true
isBinaryPath('source/unicorn.txt');
//=> false
MIT © Sindre Sorhus, Paul Miller
FAQs
Check if a file path is a binary file
The npm package is-binary-path receives a total of 35,851,841 weekly downloads. As such, is-binary-path popularity was classified as popular.
We found that is-binary-path demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.