Software Bill of Materials (SBOM) generation.
Generates CycloneDX-compatible SBOM data from the lockfile, listing all dependencies with versions, licenses, and integrity hashes.
Summary
Functions
Returns the count of components in the SBOM.
Filters SBOM components by a predicate.
Generates a minimal SBOM from lockfile only (no filesystem access).
Generates an SBOM from the lockfile and node_modules.
Generates a Package URL (purl) for an npm package.
Functions
@spec component_count(map()) :: non_neg_integer()
Returns the count of components in the SBOM.
Filters SBOM components by a predicate.
Generates a minimal SBOM from lockfile only (no filesystem access).
Generates an SBOM from the lockfile and node_modules.
Generates a Package URL (purl) for an npm package.