Package Exports
- check-dependencies
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 (check-dependencies) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
check-dependencies
Check whether your public npm dependencies (or private github dependencies) are up-to-date
npm install check-dependenciesUsage
Simply call check-dependencies with module or github repository name
var check = require('check-dependencies');
check('check-dependencies', function(err, report) {
console.log(report);
});The above result will look like this
{
name: 'check-dependencies',
version: '0.1.0',
dependencies: [{
name: 'request',
latest: '2.34.0',
used: '^2.34.0',
status: 'latest'
}, {
...
}]
}The status of each dependency can be up-to-date or outdated.
You can also use check-dependencies if your node project is not on npm but only on github (like an app).
Simply pass username/repository to the function
check('my-github-username/my-repo', callback);If your repository is private you need to pass credentials as well as the second parameter
check('my-user/my-private-repo', {
username: 'this-user-has-read-access-to-the-repo',
password: 'this-is-his-password'
}, callback);If you pass a credentials map you can also check the status of your modules private github dependencies
License
MIT