is-binary-path
Check if a file path is a binary file
Last updated 6 months ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-binary-path 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.0.0                                ...           latest (6 months ago)

6 Versions

  • 3.0.0                                ...           6 months ago
  • 2.1.0                                ...           6 years ago
  • 2.0.1                                ...           6 years ago
  • 2.0.0                                ...           8 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           10 years ago
Downloads
Total 7
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE