Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sourcebin/linguist

sebastiaanyn6.3k0.0.3

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

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
}