Generate LICENSE, related files, and headers from package.json
.
At the command line:
npm --global install licensor
cd your-package
licensor --width 72
Licensor assumes:
-
The person described by
package.json
'sauthor
field is the copyright owner and licensor. -
The package was created in the current calendar year.
-
All
*.js
source files, except those innode_modules
, are the author's work.
Note: Running
npm audit --only=dev
will report security vulnerabilities due to dev dependencies of the tap test library. The project requires version10.7.2
to support Node versions 4 to 8, which are incompatible with newer releases, which as of January 18, 2020 is version 14.10.6. Runningnpm audit --production
should report no vulnerabilities.