Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

text-extensions

sindresorhus37mMIT3.1.0TypeScript support: included

List of text file extensions

text, ascii, extensions, extension, file, json, list, array

readme

text-extensions

List of text file extensions

The list is just a JSON file and can be used anywhere.

Install

npm install text-extensions

Usage

import textExtensions from 'text-extensions';

console.log(textExtensions);
//=> ['asp', 'aspx', …]