Login
OneManager
Home
/
Bethel
/
tmp
/
october-report-20261021
/
node_modules
/
is-binary-path
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
index.js
2026-10-21 07:16:33
297 B
license
2026-10-21 07:16:21
1.09 KB
package.json
2026-10-21 07:16:33
675 B
readme.md
2026-10-21 07:16:33
696 B
# is-binary-path [](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 - [`is-text-path`](https://github.com/sindresorhus/is-text-path) - Check if a filepath is a text file ## License MIT © [Sindre Sorhus](http://sindresorhus.com)
Close
2026-10-29 08:06:38 Thursday 216.73.216.30 Runningtime:1.079s Mem:406.05 KB