is-text-path
Check if a file path is a text file
Install
$ npm install is-text-path
Usage
const isTextPath = ; ;//=> true ;//=> false
Related
text-extensions
- List of text file extensionsis-binary-path
- Check if a file path is a binary file
License
MIT © Sindre Sorhus