Spaces:
Running
Running
Download node_modules/is-binary-path/index.d.ts from Chunte/HFBA: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/Chunte/HFBA/resolve/refs%2Fpr%2F1/node_modules/is-binary-path/index.d.ts
- Command line
-
hf download hf://spaces/Chunte/HFBA@refs/pr/1/node_modules/is-binary-path/index.d.ts
-
curl -L -o index.d.ts https://huggingface.co/spaces/Chunte/HFBA/resolve/refs%2Fpr%2F1/node_modules/is-binary-path/index.d.ts
290 Bytes
| /** | |
| Check if a file path is a binary file. | |
| @example | |
| ``` | |
| import isBinaryPath = require('is-binary-path'); | |
| isBinaryPath('source/unicorn.png'); | |
| //=> true | |
| isBinaryPath('source/unicorn.txt'); | |
| //=> false | |
| ``` | |
| */ | |
| declare function isBinaryPath(filePath: string): boolean; | |
| export = isBinaryPath; | |