JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q15632F
  • License MIT

GitHub's linguist data base exposed as a Node.js module

Package Exports

  • gh-linguist

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

Readme

gh-linguist Build Status

GitHub's linguist data base exposed as a Node.js module

Install

npm i gh-linguist

Usage

import linguist from 'gh-linguist'

const languages = await linguist()

API

linguist()

Returns a Promise that resolves with the contents of Linguist's YAML data base parsed as a plain JavaScript object.

Updates

To make this module up to date with Linguist I've setup a scheduler that runs once a day to check for updates.

License


Buy me a ☕