Add "license" and "licenses" to package.json #271

garthk opened this Issue Jan 13, 2014 · 1 comment


None yet

2 participants

garthk commented Jan 13, 2014

Specifying your license in package.json makes it a lot easier for your users to find and comply with GNU Affero licenses.

Also giving licenses (an array of objects with type and url keys) helps users whose legal departments request both the license name and the text. See this example from async:

  "licenses": [{
    "type": "MIT",
    "url": ""

Though licenses isn't specified in the npm package.json spec, it is supported by the NPM site, as you'll see if you check async's NPM page.


felixge commented Jan 13, 2014

Sure, happy to merge a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment