⚖ licensed is a simple, interactive command line interface to help you quickly add a
LICENSE
file to your project.
Make sure you have NodeJS (npm 5.2+) installed on your computer. Then, setup is as simple as:
$ npx licensed
If you've got an older version of node (npm version < 5.2) that doesn't yet have npx
, here's a more traditional setup:
$ npm i -g licensed
Use the CLI like so, by entering the license name and then your name (in single/double quotes):
$ licensed mit "Mihir Chaturvedi"
Running just licensed
gives you a prompt to enter your name and a nice list of licenses to choose from.
Use the --help
flag to help you out when in grave danger.
- Apache 2.0
- BSD-2-Clause
- BSD-3-Clause
- GNU General Public License
- ISC
- MIT
- Mozilla Public License 2.0
- 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 the
src/licenses.js
. - Any other positive suggestions for this project are welcome :)