{"id":13493526,"url":"https://github.com/plibither8/licensed","last_synced_at":"2025-07-13T12:12:04.855Z","repository":{"id":48358541,"uuid":"135893725","full_name":"plibither8/licensed","owner":"plibither8","description":"⚖️ ✔️ licensed is an interactive command line tool to help you choose and add licenses to your projects","archived":false,"fork":false,"pushed_at":"2021-07-30T06:38:12.000Z","size":1387,"stargazers_count":222,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-29T13:01:32.082Z","etag":null,"topics":["cli","command-line-tool","license","license-management","nodejs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/licensed","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/plibither8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"plibither8","patreon":"plibither8","custom":["https://paypal.me/plibither8","https://www.buymeacoffee.com/plibither8"]}},"created_at":"2018-06-03T10:16:49.000Z","updated_at":"2024-01-03T14:15:45.000Z","dependencies_parsed_at":"2022-09-03T11:50:32.539Z","dependency_job_id":null,"html_url":"https://github.com/plibither8/licensed","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plibither8%2Flicensed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plibither8%2Flicensed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plibither8%2Flicensed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plibither8%2Flicensed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plibither8","download_url":"https://codeload.github.com/plibither8/licensed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247847611,"owners_count":21006100,"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":["cli","command-line-tool","license","license-management","nodejs"],"created_at":"2024-07-31T19:01:16.150Z","updated_at":"2025-04-09T10:06:04.967Z","avatar_url":"https://github.com/plibither8.png","language":"JavaScript","funding_links":["https://github.com/sponsors/plibither8","https://patreon.com/plibither8","https://paypal.me/plibither8","https://www.buymeacoffee.com/plibither8"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"assets/logo.png\" height=\"100px\"\u003e\n\u003c/p\u003e\n\n\u003cdiv align='center'\u003e\n\n[![Build Status](https://img.shields.io/travis/plibither8/licensed/master.svg?style=flat-square)](https://travis-ci.org/plibither8/licensed)\n[![Number of downloads](https://img.shields.io/npm/dt/licensed.svg?style=flat-square)](https://www.npmjs.com/package/licensed)\n[![Licence](https://img.shields.io/npm/l/licensed.svg?maxAge=2592000\u0026style=flat-square)](LICENSE)\n[![Number of dependencies](https://img.shields.io/david/plibither8/licensed.svg?maxAge=2592000\u0026style=flat-square)](https://www.npmjs.com/package/licensed?activeTab=dependencies)\n[![Made with Love in India](assets/mwlii-badge.svg)](https://madewithlove.org.in/)\n\n\u003c/div\u003e\n\n\u003cp align='center'\u003e\n    \u003cimg src='https://nodei.co/npm/licensed.png' alt='npm'\u003e\n\u003c/p\u003e\n\n\u003e ⚖ licensed is a simple, interactive command line interface to help you choose and quickly add a `LICENSE` file to your project.\n\n\n![licensed demo gif](assets/demo.gif)\n\n\u003chr\u003e\n\n## Setup\n\nMake sure you have [NodeJS](https://nodejs.org/en/) (npm 5.2+) installed on your computer. Then, setup is as simple as:\n\n```sh\n$ npx licensed\n``` \n\nIf you've got an older version of node (npm version \u003c 5.2) that doesn't yet have [`npx`](https://www.npmjs.com/package/npx), here's a more traditional setup:\n\n```sh\n$ npm i -g licensed\n```\n\n## Usage\n\nAfter installation, navigate to your project directory ie. the directory you want your `LICENSE` file to be placed. Then:\n\n```sh\nUsage:\n    $ licensed                  # Brings up an option to start a questionnaire or choose from a list of available licenses\n    $ licensed \u003clicense-name\u003e   # Brings prompt to enter your name\n    $ licensed \u003clicense-name\u003e \u003cyour-full-name\u003e [--year | -y] \u003cyear\u003e\n    $ licensed [--list | -l]\n\nOptions:\n    --year, -y \u003cyear\u003e   Manually enter year the license is in effect\n    --list, -l          List all available licenses\n    --help              Show this screen\n    --version           Show version\n\nExamples:\n    $ licensed mit \"Mihir Chaturvedi\"\n    $ licensed apache\n    $ licensed --year 2013-2018\n```\n\n## Development\n\nRun:\n\n```sh\n$ git clone https://github.com/plibither8/licensed.git\n$ cd licensed\n$ npm link\n```\n\nThis will setup a symbolic link to the CLI. Any changes in source files will now be reflected when running the `licensed` command.\n\nTo lint your code, run\n\n```sh\n$ npm run lint\n```\n\n...and to build your files to `lib/` directory, run\n\n```sh\n$ npm run build\n```\n\n## Available licenses to choose from (currently):\n\n* Apache 2.0\n* BSD-2-Clause\n* BSD-3-Clause\n* GNU General Public License\n* ISC\n* MIT\n* Mozilla Public License 2.0\n* Unlicense\n\n## Contributions\n\n* If you are aware of more licenses, help expand the list by suggesting or creating a pull request with the license text and name added to `assets/licenses`, `src/licenses.js` and other respective files.\n* Any other positive suggestions for this project are welcome :)\n\n**Make sure to check out [CONTRIBUTING.md](.github/CONTRIBUTING.md).**\n\n## Acknowledgements\n\n* [Manuel Spagnolo](https://github.com/shikaan) for implementing the questionnaire.\n\n## Donate\n\nlicensed was made by me during my study-breaks and free time. If you like and have enjoyed it, please consider donating a small amount (any amount will be really appreciated!) to support and sustain its development. Thank you!\n\n[![Donate](https://img.shields.io/badge/donate-PayPal-blue.svg?style=for-the-badge\u0026logo=paypal)](https://paypal.me/plibither8)\n\n[![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/purple_img.png)](https://www.buymeacoffee.com/plibither8)\n\n---\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplibither8%2Flicensed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplibither8%2Flicensed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplibither8%2Flicensed/lists"}