UNPKG

text-extensions

Version:
26 lines (16 loc) 524 B
# text-extensions > List of text file extensions The list is just a [JSON file](text-extensions.json) and can be used anywhere. ## Install ```sh npm install text-extensions ``` ## Usage ```js import textExtensions from 'text-extensions'; console.log(textExtensions); //=> ['asp', 'aspx', …] ``` ## Related - [is-text-path](https://github.com/sindresorhus/is-text-path) - Check if a file path is a text file - [binary-extensions](https://github.com/sindresorhus/binary-extensions) - List of binary file extensions