Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/text-extensions
List of text file extensions
https://github.com/sindresorhus/text-extensions
Last synced: 5 days ago
JSON representation
List of text file extensions
- Host: GitHub
- URL: https://github.com/sindresorhus/text-extensions
- Owner: sindresorhus
- License: mit
- Created: 2015-02-16T21:12:53.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:38:17.000Z (about 1 month ago)
- Last Synced: 2024-12-07T16:02:12.657Z (5 days ago)
- Language: JavaScript
- Size: 34.2 KB
- Stars: 53
- Watchers: 8
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
- Security: .github/security.md
Awesome Lists containing this project
README
# 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