pixelbattle/node_modules/is-binary-path
leca eb425f4400 implemented basic client-server communication 2023-07-31 19:18:21 +03:00
..
index.d.ts implemented basic client-server communication 2023-07-31 19:18:21 +03:00
index.js implemented basic client-server communication 2023-07-31 19:18:21 +03:00
license implemented basic client-server communication 2023-07-31 19:18:21 +03:00
package.json implemented basic client-server communication 2023-07-31 19:18:21 +03:00
readme.md implemented basic client-server communication 2023-07-31 19:18:21 +03:00

readme.md

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

License

MIT © Sindre Sorhus, Paul Miller