Skip to content

jslicense/check-npm-package-licenses.js

Repository files navigation

check-npm-package-licenses

npm version license build status

Check the license metadata of a package and its dependencies.

check('mocha', '2.2.5', function(error, problems) {
  problems.some(function(problem) {
    return problem.message === 'Package commander@2.3.0 has no license metadata.';
  }); // => true
});

You can do the same from the command line with check-npm-package-licenses mocha 2.2.5.

About

check the license metadata of a package and its dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published