lpm quality
Show the quality report for a package — score, tier, and per-check breakdown.
lpm quality <package>Fetches the lpm.dev quality report for an @lpm.dev/* package and prints it: a score out of 100, a tier label, and a per-check breakdown grouped by category (readme, license, types, tests, maintenance, etc.).
Scope: @lpm.dev/* packages only. The quality endpoint lives on lpm.dev; npm-registry packages aren't covered. For broad quality-shaped signals on installed npm packages, lpm audit covers vulnerabilities + behavioral analysis.
The same scoring rubric runs locally during lpm publish — lpm quality lets you preview an already-published package's grade without installing it.
Examples
lpm quality @lpm.dev/owner.pkg
lpm quality owner.pkg # short form
lpm quality @lpm.dev/owner.pkg --json | jq '.checks[] | select(.passed == false)'What's shown
- Score — points out of 100 (color-coded: green ≥80, yellow ≥50, red below)
- Tier — human label:
excellent,good,fair, orneeds-work - Ecosystem —
js,swift, etc. - Checks — per-category list with pass/fail icons, label, and points awarded
Flags
lpm quality takes no specific flags besides the global flags. --json returns the full report including check IDs, descriptions, and remediation hints.
See also
lpm publish— runs the same checks before upload (--checkshows the report only;--min-scoregates publishing)lpm info— package metadatalpm audit— installed-package security audit (different system)