2.3.0 • Published 7 months ago

dependency-stream v2.3.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

dependency-stream

Analyse and list all dependencies of an entrypoint as a stream

npm install dependency-stream

Usage

const DependencyStream = require('dependency-stream')

const d = new DependencyStream(drive, {
  entrypoint: '.', // thats the entrypoint to resolve
  preload: true, // preload as much as possible
  source: false, // include source in results
  strict: false, // if true, fail if something cannot be resolved
  conditions: [], // what conditions to apply to export maps
  builtins: setOrArray // set to the builtin modules of your runtime
})

for await (const data of d) {
  console.log(data) // the resolved dep
}

License

Apache-2.0

2.3.0

7 months ago

2.2.4

7 months ago

2.2.1

9 months ago

2.2.0

9 months ago

2.1.1

9 months ago

2.2.3

9 months ago

2.2.2

9 months ago

2.1.0

9 months ago

2.0.1

1 year ago

2.0.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.0.0

1 year ago