npm-dependency-details

inspect the versions of depedencies of a module

Usage no npm install needed!

<script type="module">
  import npmDependencyDetails from 'https://cdn.skypack.dev/npm-dependency-details';
</script>

README

npm-dependency-details

Gather details of dependencies of a package. Lets you know if any package is out of date.

Usage

var npmConfig = {} // opts for the npm registry client
require('npm-dependency-details')({config: npmConfig}, '/path/to/project', function (err, data) {
    // do stuff with data
}