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

is-binary-path Build Status

Check if a file path is a binary file

Install

$ npm install is-binary-path

Usage

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

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

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

Related

License

MIT © Sindre Sorhus, Paul Miller

Current Tags

  • 2.1.0                                ...           latest (a year ago)

5 Versions

  • 2.1.0                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           4 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Today 11,649
This Week 306,630
This Month 306,630
Last Day 22,473
Last Week 319,881
Last Month 1,093,664
Dependencies (1)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |