resolve-package-json
v1.4.0
Published
package.json dependency resolver
Downloads
3,019
Readme
resolve-package-json
Resolve package.json dependency versions
Installation
$ npm install --save resolve-package-json
Usage
const { resolver } = require('resolve-package-json')
const pkg = require('./package.json')
resolver(pkg.dependencies, function (err, result) {
if (err) throw err
console.log(result)
})
Acknowledgements
Dependency resolution algorithm is inspired from dep
Authors and Contributors
Contributions are welcomed from anyone wanting to improve this project!
License & Copyright
nscm is Copyright (c) 2017 NodeSource and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.