Package Exports
- is-text-path
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-text-path) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-text-path 
Check if a file path is a text file
Install
$ npm install is-text-path
Usage
const isTextPath = require('is-text-path');
isTextPath('source/unicorn.txt');
//=> true
isTextPath('source/unicorn.png');
//=> false
Related
text-extensions
- List of text file extensionsis-binary-path
- Check if a file path is a binary file
License
MIT © Sindre Sorhus