JSPM

@sourcebin/linguist

0.0.3
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1211
    • Score
      100M100P100Q109028F

    Package Exports

    • @sourcebin/linguist
    • @sourcebin/linguist/dist/linguist.json

    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 (@sourcebin/linguist) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    linguist

    Small package that turns github/linguist languages.yml into a JSON format that can easily be used.

    Structure

    linguist.json

    {
      "183": {
        "name": "JavaScript",
        "color": "f1e05a",
        "extension": "js",
        "aliases": [
          "js",
          "node"
        ],
        "aceMode": "javascript"
      }
    }

    languages.json

    {
      "JavaScript": 183
    }