Sha256: 29ec8568c42f1ca16ccc5867a676a0dce04f2a08334b20d875c21cf7344f015f
Contents?: true
Size: 594 Bytes
Versions: 17
Compression:
Stored size: 594 Bytes
Contents
# is-binary-path [![Build Status](https://travis-ci.org/sindresorhus/is-binary-path.svg?branch=master)](https://travis-ci.org/sindresorhus/is-binary-path) > Check if a filepath is a binary file ## Install ``` $ npm install --save is-binary-path ``` ## Usage ```js var isBinaryPath = require('is-binary-path'); isBinaryPath('src/unicorn.png'); //=> true isBinaryPath('src/unicorn.txt'); //=> false ``` ## Related - [`binary-extensions`](https://github.com/sindresorhus/binary-extensions) - List of binary file extensions ## License MIT © [Sindre Sorhus](http://sindresorhus.com)
Version data entries
17 entries across 17 versions & 2 rubygems