attach package.json contents to a dependency stream
var getPackageJsons = ;var packageGetter = ; // optionalvar dependency =name: 'request'version: '2.3.10' // requires an *exact* version.;packageGetter// Or use as a through streamvar createDependencyStream = ;var resolveDependencyVersions = ;var dependencies = ;dependencies;
Attaches package.json contents from a remote registry to dependency objects. Note that the dependency object must have an exact version, not a version range. See resolve-package-dependencies for a module that does that.