JSPM

common-js-file-extensions

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22270
  • Score
    100M100P100Q137492F
  • License MIT

Common JavaScript File Extensions

Package Exports

  • common-js-file-extensions

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (common-js-file-extensions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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

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