{"id":13941230,"url":"https://github.com/jozefizso/generator-license","last_synced_at":"2025-03-17T16:11:41.830Z","repository":{"id":9527842,"uuid":"11428390","full_name":"jozefizso/generator-license","owner":"jozefizso","description":"Yeoman Generator - License","archived":false,"fork":false,"pushed_at":"2023-09-25T14:45:48.000Z","size":795,"stargazers_count":59,"open_issues_count":1,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-15T01:47:59.304Z","etag":null,"topics":["nodejs","yeoman","yeoman-generator"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"AFNetworking/AFNetworking","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jozefizso.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,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-07-15T16:54:33.000Z","updated_at":"2024-06-18T14:06:16.449Z","dependencies_parsed_at":"2023-01-13T15:24:53.286Z","dependency_job_id":"cba90cb9-e667-4eb5-a48e-ea27efe7f11f","html_url":"https://github.com/jozefizso/generator-license","commit_stats":{"total_commits":141,"total_committers":17,"mean_commits":8.294117647058824,"dds":"0.43262411347517726","last_synced_commit":"52e492675820dec18ea8fa0653f04dd4f5325c7e"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jozefizso%2Fgenerator-license","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jozefizso%2Fgenerator-license/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jozefizso%2Fgenerator-license/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jozefizso%2Fgenerator-license/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jozefizso","download_url":"https://codeload.github.com/jozefizso/generator-license/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066180,"owners_count":20392406,"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":["nodejs","yeoman","yeoman-generator"],"created_at":"2024-08-08T02:01:14.511Z","updated_at":"2025-03-17T16:11:41.807Z","avatar_url":"https://github.com/jozefizso.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# generator-license\n\n[![build](https://github.com/jozefizso/generator-license/actions/workflows/build.yml/badge.svg)](https://github.com/jozefizso/generator-license/actions/workflows/build.yml)\n![GitHub package.json version](https://img.shields.io/github/package-json/v/jozefizso/generator-license)\n[![Coverage Status](https://coveralls.io/repos/github/jozefizso/generator-license/badge.svg)](https://coveralls.io/github/jozefizso/generator-license)\n[![NPM version](https://img.shields.io/npm/v/generator-license.svg)](https://www.npmjs.org/package/generator-license)\n\n\u003e Generate LICENSE file for your project using Yeoman.\n\n```\nyo license\n```\n\n\n## Getting started\n- Make sure you have [yo](https://github.com/yeoman/yo) installed:\n    `npm install -g yo`\n- Install the generator: `npm install -g generator-license`\n- Run: `yo license`, enter your full name and choose a license\n\nThe generator will generate the `LICENSE` file and fill the `license` field of the `package.json`.\n\n### Compose with generator license in your own generator\n\n`generator-license` can be easily embedded into your own generator using [Yeoman composability](http://yeoman.io/authoring/composability.html).\n\nFirst, install `generator-license` as a dependency of your own generator.\n\n```\nnpm install --save generator-license\n```\n\nThen call it from your generator.\n\n```js\nthis.composeWith(require.resolve('generator-license'), {\n  name: 'John Doe', // (optional) Owner's name\n  email: 'john.doe@example.com', // (optional) Owner's email\n  website: 'https://example.com', // (optional) Owner's website\n  year: '1945', // (optional) License year (defaults to current year)\n  licensePrompt: 'Which license do you want to use?', // (optional) customize license prompt text\n  defaultLicense: 'MIT', // (optional) Select a default license\n  license: 'MIT', // (optional) Select a license, so no license prompt will happen, in case you want to handle it outside of this generator\n});\n```\n\nAll the options are optional; the generator will prompt for answers when information is not provided.\n\n### Supported licenses\n\n- [Apache 2 License][10]\n- [MIT License][20]\n- [Mozilla Public License 2.0][30]\n- [BSD 2-Clause (FreeBSD) License][40]\n- [BSD 3-Clause (NewBSD) License][50]\n- [Internet Systems Consortium (ISC) License][60]\n- [GNU AGPL 3.0 License][70]\n- [GNU GPL 3.0 License][80]\n- [Unlicense][90]\n- UNLICENSED\n\nFor [Creative Commons Licenses][200] (useful for media files, documentation and\nother creative works) you can use [generator-license-cc][201].\n\n## License\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\n\n[10]: http://choosealicense.com/licenses/apache/\n[20]: http://choosealicense.com/licenses/mit/\n[30]: http://choosealicense.com/licenses/mpl-2.0/\n[40]: http://choosealicense.com/licenses/bsd/\n[50]: http://choosealicense.com/licenses/bsd-3-clause/\n[60]: http://en.wikipedia.org/wiki/ISC_license\n[70]: http://choosealicense.com/licenses/agpl-3.0/\n[80]: http://choosealicense.com/licenses/gpl-3.0/\n[90]: http://unlicense.org/\n[100]: http://choosealicense.com/licenses/no-license/\n[200]: https://creativecommons.org/licenses/\n[201]: https://github.com/ek9/generator-license-cc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjozefizso%2Fgenerator-license","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjozefizso%2Fgenerator-license","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjozefizso%2Fgenerator-license/lists"}