https://github.com/ikatyang/linguist-languages
Linguist languages.yml in JSON format
https://github.com/ikatyang/linguist-languages
data json language linguist
Last synced: 2 months ago
JSON representation
Linguist languages.yml in JSON format
- Host: GitHub
- URL: https://github.com/ikatyang/linguist-languages
- Owner: ikatyang
- License: mit
- Created: 2018-06-23T06:52:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T04:06:07.000Z (9 months ago)
- Last Synced: 2024-12-08T01:30:50.502Z (3 months ago)
- Topics: data, json, language, linguist
- Language: TypeScript
- Homepage:
- Size: 790 KB
- Stars: 20
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# linguist-languages
[](https://www.npmjs.com/package/linguist-languages)
[](https://github.com/ikatyang/linguist-languages/actions?query=branch%3Amaster)[Linguist `languages.yml`](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml) in JSON format
## Install
```sh
npm install linguist-languages
```## Usage
```js
import javascript from 'linguist-languages/data/JavaScript'
```or
```js
import languages from 'linguist-languages'
const javascript = languages.JavaScript
```## Development
```sh
# lint
pnpm run lint# build
pnpm run build# test
pnpm run test
```## License
MIT © [Ika](https://github.com/ikatyang)