{"id":15483237,"url":"https://github.com/simonecorsi/github-languages-colors","last_synced_at":"2025-09-02T11:09:17.907Z","repository":{"id":49879204,"uuid":"518362786","full_name":"simonecorsi/github-languages-colors","owner":"simonecorsi","description":"🎨 This npm package exposes github language colors codes in js, json and css and updates daily from github definitions!","archived":false,"fork":false,"pushed_at":"2025-08-26T03:28:22.000Z","size":9307,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-26T05:32:23.745Z","etag":null,"topics":["color-scheme","colors","css","github-colors","github-languages","github-languages-css","javascript","json","npm","palette"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonecorsi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-27T07:56:50.000Z","updated_at":"2025-08-26T03:28:19.000Z","dependencies_parsed_at":"2025-07-17T19:52:02.755Z","dependency_job_id":"6614f0fe-54f3-406c-b6ef-5d5e1ffcd6bd","html_url":"https://github.com/simonecorsi/github-languages-colors","commit_stats":{"total_commits":369,"total_committers":3,"mean_commits":123.0,"dds":0.01897018970189701,"last_synced_commit":"d4e25eb42a430c2b0a15058dede11f33ac34e3e5"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":"simonecorsi/scdev-npm-starter","purl":"pkg:github/simonecorsi/github-languages-colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonecorsi%2Fgithub-languages-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonecorsi%2Fgithub-languages-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonecorsi%2Fgithub-languages-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonecorsi%2Fgithub-languages-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonecorsi","download_url":"https://codeload.github.com/simonecorsi/github-languages-colors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonecorsi%2Fgithub-languages-colors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273272627,"owners_count":25076002,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["color-scheme","colors","css","github-colors","github-languages","github-languages-css","javascript","json","npm","palette"],"created_at":"2024-10-02T05:11:07.584Z","updated_at":"2025-09-02T11:09:17.891Z","avatar_url":"https://github.com/simonecorsi.png","language":"CSS","readme":"# github-languages-colors\n\n\u003c!-- PROJECT SHIELDS --\u003e\n\n\u003c!-- ![tests](https://github.com/simonecorsi/github-languages-colors/workflows/test/badge.svg) --\u003e\n\n\u003c!-- toc --\u003e\n\n- [About](#about)\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Javascript/Typescript](#javascripttypescript)\n  - [JSON](#json)\n  - [CSS](#css)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n\u003c!-- tocstop --\u003e\n\n## About\n\n\u003e 🎨 This simple packages exposes github language colors in js, json and css and updates daily from github definitions!\n\nHave you ever needed for your side project to show languages with cool colors like github does? Fear no more, this package exposes them in JS (both CommonJS and ESM), JSON and CSS!\n\nThe definitions are updated daily!\n\n\u003c!-- GETTING STARTED --\u003e\n\n## Installation\n\n```sh\nnpm i --save @scdev/github-languages-colors\n# OR\nyarn add @scdev/github-languages-colors\n```\n\n\u003c!-- USAGE EXAMPLES --\u003e\n\n## Usage\n\n### Javascript/Typescript\n\n```js\nimport ghColors from '@scdev/github-languages-colors';\n// OR\nconst ghColors = require('@scdev/github-languages-colors');\n```\n\n**NB**: Language are the same as returned from Github APIs and as seen in the website, this to easily retrieve them programmatically, eg: js is JavaScript.\n\n### JSON\n\nThere is also a JSON file if you want to use it in other languages in: `src/index.json`\n\n### CSS\n\n**NB**: To maintain original names as stated above we added prefixes to avoid unconventional classNames (eg: starting with numbers)\n\nTwo files are generated, so you can include only the one you need:\n\n- [`gh-colors.css`](./src/gh-colors.css)\n- [`gh-background.css`](./src/gh-background.css)\n- [`gh-variables.css`](./src/gh-variables.css)\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## Contributing\n\nProject is pretty simple and straight forward for what is my needs, but if you have any idea you're welcome.\n\nThis projects uses [commitlint](https://commitlint.js.org/) with Angular configuration so be sure to use standard commit format or PR won't be accepted.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'feat(scope): some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\u003c!-- LICENSE --\u003e\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n\u003c!-- CONTACT --\u003e\n\n## Contact\n\nSimone Corsi - [@im_simonecorsi](https://twitter.com/im_simonecorsi)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonecorsi%2Fgithub-languages-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonecorsi%2Fgithub-languages-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonecorsi%2Fgithub-languages-colors/lists"}