{"id":21892425,"url":"https://github.com/r0mflip/fetchlicense","last_synced_at":"2026-04-10T16:49:22.247Z","repository":{"id":34923808,"uuid":"190997528","full_name":"r0mflip/fetchlicense","owner":"r0mflip","description":"⬇ A (1KB) utility to fetch a license from GitHub API","archived":false,"fork":false,"pushed_at":"2022-02-12T01:44:38.000Z","size":55,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T09:53:43.348Z","etag":null,"topics":["api","cli","fetch","github","license"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/r0mflip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-09T11:21:54.000Z","updated_at":"2023-03-04T05:33:09.000Z","dependencies_parsed_at":"2022-08-08T03:00:25.391Z","dependency_job_id":null,"html_url":"https://github.com/r0mflip/fetchlicense","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0mflip%2Ffetchlicense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0mflip%2Ffetchlicense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0mflip%2Ffetchlicense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0mflip%2Ffetchlicense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r0mflip","download_url":"https://codeload.github.com/r0mflip/fetchlicense/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244901243,"owners_count":20528897,"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":["api","cli","fetch","github","license"],"created_at":"2024-11-28T12:58:16.879Z","updated_at":"2026-04-10T16:49:17.212Z","avatar_url":"https://github.com/r0mflip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![banner image](https://raw.githubusercontent.com/r0mflip/fetchlicense/master/fetchlicense.png)\n\n# `fetchlicense`\n[![npm-badge](https://badgen.net/npm/v/fetchlicense?style=flat)](https://www.npmjs.com/package/fetchlicense)\n[![npm-badge](https://badgen.net/packagephobia/publish/fetchlicense?\u0026style=flat)](https://packagephobia.now.sh/result?p=fetchlicense)\n\nA (1KB) utility to fetch a license for use with GitHub _(fetched from [Github API](https://api.github.com/licenses/))_\n\n## Usage\n``` sh\n$ npx fetchlicense [SPDX_LICENSE_IDENTIFIER] \u003e LICENSE\n```\n\n`SPDX_LICENSE_IDENTIFIER` _(optional)_ : Any license identifier from the [SPDX License List](https://spdx.org/licenses/)\n_(defaults to `license` field of `package.json` in current directory)_\n\n## License\n[MIT](LICENSE)\n\u003e Fetched by using this utility 😁\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr0mflip%2Ffetchlicense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr0mflip%2Ffetchlicense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr0mflip%2Ffetchlicense/lists"}