gh-linguist
v1.1.3
Published
GitHub's linguist data base exposed as a Node.js module
Downloads
3
Maintainers
Readme
gh-linguist
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
- Language grammars borrowed from Linguist are covered by their repositories' respective licenses.
- Linguist itself and all the files in this repository are covered by the MIT license.