JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 178
  • Score
    100M100P100Q83031F
  • License Apache-2.0

generate a LICENSE file from package.json

Package Exports

  • licensor

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (licensor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Generate a LICENSE file from package.json.

At the command line:

npm --global install licensor
licensor < package.json > LICENSE

If you would like to wrap long lines, try either of:

licensor < package.json | fmt -w72 > LICENSE
licensor < package.json | par -w72 > LICENSE

With Node.js:

var licensor = require('licensor');
licensor(require('./package.json'), function(error, text) {
  console.log(text);
});

Licensor assumes that the "author" in package.json is also the copyright owner and that the package was created in the current calendar year.