Closed garthk closed 9 years ago
+1
(edit) I'm working on a project to figure out the licenses of everything a module depends on, and having the license in package.json
makes it incredibly easy to do automatically.
can be closed - fixed in https://github.com/mcavage/node-assert-plus/commit/bf004e141b0fa42e3d75c32971a117508a4135c6
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 withtype
andurl
keys) helps users whose legal departments request both the license name and the text. See this example from async: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.Thanks!