About license generator
A licence tells others what they may do with your code. Without one, the code is by default not open for reuse.
Common choices
- MIT and ISC: very permissive, only requiring a notice.
- BSD: permissive with similar terms.
- Unlicense: places the work in the public domain.
Not legal advice
If the project matters commercially, ask a lawyer. Other licences, such as Apache 2.0 and GPL, have different obligations.
Choosing between them
MIT and ISC let anyone use, change and sell your code as long as they keep your notice. BSD adds a clause about not using your name to promote products. The Unlicense dedicates the work to the public domain. If you want changes to stay open, look at licences such as the GPL, and ask a lawyer for important projects.
Adding it
- Save the text as LICENSE in the project root.
- Put your name and the year in the copyright line.
- Set the licence field in package.json to match.
