List of text file extensions
The list is just a JSON file and can be used anywhere.
$ npm install text-extensions
const textExtensions = require('text-extensions');
console.log(textExtensions);
//=> ['asp', 'aspx', …]
- is-text-path - Check if a file path is a text file
- binary-extensions - List of binary file extensions
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.