Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

package-to-dependency-stream

0.1.0 • Public • Published

package-to-dependency-stream

Synopsis

var packageToDependencyStream = require('create-dependency-stream')
var pkg = require('./package.json')
packageToDependencyStream(pkg).on('data', console.log)
/*
{ name: 'from',
  versionRange: '~0.1.3',
  parent: [Object] }
*/

Description

Creates a stream of dependency objects from a parsed package.json file.

License

MIT

Keywords

none

install

npm i package-to-dependency-stream

Downloadsweekly downloads

9

version

0.1.0

license

none

last publish

collaborators

  • avatar
Report a vulnerability