JSPM

  • Created
  • Published
  • Downloads 1672
  • Score
    100M100P100Q106664F
  • License MIT

Check the licenses for the packages that you are using

Package Exports

  • legally
  • legally/lib/legally
  • legally/lib/table

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 (legally) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Legally - check your licenses

Note: I am not a lawyer and this is not legal advice

Discover the license of the npm packages that you are using easily: Just install it globally and run it in your project folder:

npm install legally -g && legally

Package's licenses:

Licenses

License count:

License count

Documentation

There are a couple of special cases:

  • -: the file where we are trying to locate the license couldn't be found, or the license itself couldn't be found.

  • ? verify: the license file was found and there's strong suggestions that there might be a license, but we just couldn't parse it automatically.

FAQ

It says 'No modules installed'

Make sure that you are in the root folder for your project; doing ls you should be able to see node_modules

Does it check all modules by npm?

Yes, it will check all of the modules in node_modules and the nested ones except for .bin.

What licenses does it check?

It attempts to find Apache, BSD (2 and 3 Clause), CC0, ISC and MIT. This list is short, so please feel free to expand it adding a new file in /licenses:

// File /licenses/mit.js
module.exports.name = 'MIT';
module.exports.regex = /(?:The )?MIT(?: (L|l)icense)/;
module.exports.text = `
  Permission is hereby granted, free of charge, to any person obtaining a copy
  ...
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.
`;
module.exports.fragments = module.exports.text.split(/\n\n/);