Wondering what’s next for npm?Check out our public roadmap! »

common-js-file-extensions

1.0.4 • Public • Published

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

IcedCoffeeScript

  • iced
  • liticed
  • iced.md

CoffeeScript

  • cs
  • coffee
  • litcoffee
  • coffee.md

TypeScript

LiveScript

  • ls

ES/ES6 Scripts

Stratified JavaScript

  • sjs

Earl Grey

  • eg

Config/object file extensions

JavaScript Object Notation (JSON)

  • json

JavaScript LiveScript JSON

  • json.ls

JSON 5

  • json5

License MIT - Copyright (c) 2016 Luis Lobo Borobia

Install

npm i common-js-file-extensions

DownloadsWeekly Downloads

13,251

Version

1.0.4

License

MIT

Unpacked Size

10.7 kB

Total Files

6

Last publish

Collaborators

  • avatar
  • avatar