Nauseating Pumpkin Mush

    resolve-package-versions

    0.0.0 • Public • Published

    resolve-package-versions

    Synopsis

    var resolvePackageVersions = require('resolve-package-versions')
     
    var resolver = resolvePackageVersions();
    var dependency = {
      name: 'request',
      versionRange: '2.x'
    };
     
    resolver.resolve(dependency, function (err) {
      console.log(dependency.version) //=> 2.21.0
    })
     
    // Or use as a through stream
     
    var createDependencyStream = require('create-dependency-stream');
    var dependencies = createDependencyStream('/path/to/package.json');
    dependencies.pipe(resolver);

    Description

    This package uses a remote registry to determine the version of a package that will satisfy a requested version range.

    License

    MIT

    Keywords

    none

    Install

    npm i resolve-package-versions

    DownloadsWeekly Downloads

    7

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • grncdr