Super Simple License Generator is a Node.js command-line tool for generating LICENSE files for your projects. It uses the GitHub API to fetch available license templates and allows you to customize the license with your name and the current year.
Ensure you have Node.js installed on your machine. You can install the package globally using npm or yarn:
npm install -g node-license-generator
or
yarn global add node-license-generator
Navigate to your project directory and run the following command to generate a license:
generate-license
You will be prompted to choose a license, enter your name, and specify the year.
You can also provide your name and year directly via command-line arguments to skip the prompts:
generate-license --name="John Doe" --year=2024
generate-license
This command will prompt you to:
- Choose a license from the list
- Enter your name
- Enter the year
- Choose whether to update package.json license field or not
generate-license--name="Jane Doe" --year=2024
This command will generate a LICENSE file for "Jane Doe" in the year 2024 without any prompts.
Feel free to open issues or submit pull requests. Contributions are welcome!
This project is licensed under the MIT License.
For any questions or feedback, please open an issue on GitHub.