resolve-package-json

package.json dependency resolver

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
resolve-package-json
501.4.05 years ago5 years agoMinified + gzip package size for resolve-package-json in KB

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

Julián DuqueGitHub/julianduqueTwitter/@julianduque

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.