feature: explain - mark when dependency is bundled by kumavis · Pull Request #2750 · npm/cli (original) (raw)

when using npm explain <package> its useful to see if the package has been bundled. this is especially useful when trying to understand the provenance of a package's content

image

it would additionally be helpful to indicate when an edge includes a dependency as bundled, but that will require a change in @npmcli/arborist's Edge.prototype.explain