NPM.Report (NPM v0.6.0)

Copy Markdown View Source

Generates comprehensive project dependency reports.

Combines data from multiple modules to produce an overview of dependencies, licenses, security, and project health.

Summary

Functions

Generates a dependency summary from the lockfile.

Formats a dependency summary for display.

Returns a combined project report.

Generates a version summary from the lockfile.

Functions

dependency_summary(lockfile)

@spec dependency_summary(map()) :: map()

Generates a dependency summary from the lockfile.

format_summary(summary)

@spec format_summary(map()) :: String.t()

Formats a dependency summary for display.

full_report(lockfile, pkg_data)

@spec full_report(map(), map()) :: map()

Returns a combined project report.

version_summary(lockfile)

@spec version_summary(map()) :: map()

Generates a version summary from the lockfile.