https://github.com/luislobo/common-js-file-extensions
Common JavaScript File Extensions
https://github.com/luislobo/common-js-file-extensions
Last synced: 12 months ago
JSON representation
Common JavaScript File Extensions
- Host: GitHub
- URL: https://github.com/luislobo/common-js-file-extensions
- Owner: luislobo
- License: mit
- Created: 2016-12-28T03:15:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T19:28:34.000Z (over 5 years ago)
- Last Synced: 2025-04-10T12:52:49.157Z (about 1 year ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Common JavaScript File Extensions
This module exports three attributes:
- `code`: contains an array of JavaScript extensions that refers to code files
- `config`: contains an array of JavaScript extensions that refers to config/object files
## List of supported extensions and sources
### Code file extensions
#### JavaScript
- js
- [cjs](https://nodejs.org/api/esm.html#esm_ecmascript_modules)
- [mjs](https://nodejs.org/api/esm.html#esm_ecmascript_modules)
#### [IcedCoffeeScript](http://maxtaco.github.io/coffee-script/)
- iced
- liticed
- iced.md
#### [CoffeeScript](http://coffeescript.org/)
- cs
- coffee
- litcoffee
- coffee.md
#### [TypeScript](https://www.typescriptlang.org/)
- ts
- [tsx](https://www.typescriptlang.org/docs/handbook/jsx.html)
#### [LiveScript](http://livescript.net/)
- ls
#### [ES/ES6 Scripts](https://babeljs.io)
- es6
- es
- jsx: [Spec](https://facebook.github.io/jsx)
#### [Stratified JavaScript](http://onilabs.com/stratifiedjs)
- sjs
#### [Earl Grey](http://www.earl-grey.io/)
- eg
### Config/object file extensions
#### JavaScript Object Notation (JSON)
- json
#### [JavaScript LiveScript JSON](http://livescript.net/)
- json.ls
#### [JSON 5](http://json5.org)
- json5
---
License MIT - Copyright (c) 2016 Luis Lobo Borobia