license-maker
v1.0.0
Published
Generate LICENSE files from the command line. Supports MIT, Apache-2.0, GPL-3.0, BSD-2, BSD-3, ISC, MPL-2.0, Unlicense, and more.
Downloads
88
Maintainers
Readme
license-maker ⚖️
Generate LICENSE files from the command line. MIT, Apache, GPL, BSD, ISC, MPL, Unlicense — one command.
Install
npm install -g license-makerUsage
# Generate MIT license (auto-detects name from git config)
license-maker mit
# Specify author name
license-maker apache-2.0 --name "Jane Doe"
# Output to custom file
license-maker gpl-3.0 --output LICENSE.md
# Print to stdout (pipe to clipboard)
license-maker mit --stdout | pbcopy
# List all available licenses
license-maker --listSupported Licenses
| License | Command |
|---------|---------|
| MIT | license-maker mit |
| Apache 2.0 | license-maker apache-2.0 |
| GPL 3.0 | license-maker gpl-3.0 |
| BSD 2-Clause | license-maker bsd-2 |
| BSD 3-Clause | license-maker bsd-3 |
| ISC | license-maker isc |
| Mozilla Public License 2.0 | license-maker mpl-2.0 |
| Unlicense | license-maker unlicense |
Features
- 🚀 Zero dependencies
- 📛 Auto-detects author name from
git config - 📅 Auto-fills current year
- 📋 Pipe to stdout with
--stdout - 🎨 Colorful terminal output
License
MIT © kszongic
