{"id":17975556,"url":"https://github.com/rafaelrinaldi/gh-linguist","last_synced_at":"2026-05-05T20:33:31.115Z","repository":{"id":57250855,"uuid":"144235796","full_name":"rafaelrinaldi/gh-linguist","owner":"rafaelrinaldi","description":"GitHub's linguist data base exposed as a Node.js module","archived":false,"fork":false,"pushed_at":"2018-08-25T18:43:33.000Z","size":212,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-11T09:37:41.054Z","etag":null,"topics":["github","linguist","module","node","programming-languages"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafaelrinaldi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-10T04:14:52.000Z","updated_at":"2023-03-04T06:25:55.000Z","dependencies_parsed_at":"2022-08-24T16:52:09.722Z","dependency_job_id":null,"html_url":"https://github.com/rafaelrinaldi/gh-linguist","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrinaldi%2Fgh-linguist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrinaldi%2Fgh-linguist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrinaldi%2Fgh-linguist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrinaldi%2Fgh-linguist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaelrinaldi","download_url":"https://codeload.github.com/rafaelrinaldi/gh-linguist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrinaldi%2Fgh-linguist/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259097742,"owners_count":22804773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","linguist","module","node","programming-languages"],"created_at":"2024-10-29T17:20:01.859Z","updated_at":"2026-05-05T20:33:26.094Z","avatar_url":"https://github.com/rafaelrinaldi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[linguist]: https://github.com/github/linguist\n[vendor-licenses]: https://github.com/github/linguist/blob/master/vendor/README.md\n\n# gh-linguist [![Build Status](https://semaphoreci.com/api/v1/rafaelrinaldi/gh-linguist/branches/master/badge.svg)](https://semaphoreci.com/rafaelrinaldi/gh-linguist)\n\n\u003e [GitHub's linguist][linguist] data base exposed as a Node.js module\n\n## Install\n\n```sh\nnpm i gh-linguist\n```\n\n## Usage\n\n```js\nimport linguist from 'gh-linguist'\n\nconst languages = await linguist()\n```\n\n## API\n\n### `linguist()`\n\nReturns a `Promise` that resolves with the contents of Linguist's YAML data base parsed as a plain JavaScript object.\n\n## Updates\n\nTo make this module up to date with Linguist I've setup a scheduler that runs once a day to check for updates.\n\n## License\n\n- Language grammars borrowed from Linguist are covered by [their repositories' respective licenses][vendor-licenses].\n- [Linguist itself][linguist] and all the files in this repository are covered by the MIT license.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://buymeacoff.ee/rinaldi\" title=\"Buy me a coffee\"\u003eBuy me a ☕\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelrinaldi%2Fgh-linguist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaelrinaldi%2Fgh-linguist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelrinaldi%2Fgh-linguist/lists"}