Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.d.ts « is-binary-path « node_modules « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 19dcd4327beddb4d48ffc5a79eb8c306903574b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
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;