How to create license for package


How do I add a license to my package? I added a license file to my repo and I set "license": "MIT" in my package.json but the license button on my package’s page is still greyed out.


Did you add a LICENSE file (no extension!) to your repository?

I’ve posted an issue, since IMHO the website should at least add support the format created by package-generator (which is!)


To be clear, the website supports all common LICENSE file names and formats. People may want to subscribe to the Issue linked above for updates.


I tried LICENSE,, and LICENSE.txt and nothing seemed to work.


Did you also publish your package after committing an LICENSE file?


Yes, with apm publish patch.