
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
create-dependency-stream
Advanced tools
Create a stream of fully resolved dependencies from a package (and it's dependencies)
var createDependencyStream = require('create-dependency-stream')
var pkgJSON = require('./package.json');
var stream = createDependencyStream(pkgJSON, {
registry: 'http://registry.npmjs.org' // optional
});
stream.on('data', console.log);
/* emits dependency objects like: */
{ name: 'request',
versionRange: '2.x',
version: '2.21.0',
package: { /* .. parsed package.json contents .. */ },
parent: { /* .. dependency object that included this dependency .. */ }
dependencies: { /* .. mapping from dependency names to dependency object .. */ }
}
Given a parsed package.json with dependencies, this will create a stream of "dependency objects" containing the fully resolved versions and corresponding package.json contents for every dependency and every child dependency, in a way that (should be) completely compatible with npm.
MIT
FAQs
Create a stream of fully resolved dependencies from a package (and it's dependencies)
The npm package create-dependency-stream receives a total of 1 weekly downloads. As such, create-dependency-stream popularity was classified as not popular.
We found that create-dependency-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.