PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@commitlint/parse/node_modules/is-text-path
Просмотр файла: readme.md
# is-text-path [](https://travis-ci.org/sindresorhus/is-text-path)
> Check if a file path is a text file
## Install
```
$ npm install is-text-path
```
## Usage
```js
const isTextPath = require('is-text-path');
isTextPath('source/unicorn.txt');
//=> true
isTextPath('source/unicorn.png');
//=> false
```
## Related
- [`text-extensions`](https://github.com/sindresorhus/text-extensions) - List of text file extensions
- [`is-binary-path`](https://github.com/sindresorhus/is-binary-path) - Check if a file path is a binary file
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)
Выполнить команду
Для локальной разработки. Не используйте в интернете!