1.4.0 • Published 6 years ago

resolve-package-json v1.4.0

Weekly downloads
3,988
License
MIT
Repository
github
Last release
6 years ago

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.