Package Detail
The package detail page is where users make install decisions — a structured, information-rich view of everything a user needs to evaluate a package before committing to an install.
Page Sections at a Glance
The package detail page is organized into seven distinct sections, displayed in a consistent order across all packages. This predictable structure helps users quickly find the information they need regardless of which package they are evaluating.
Package Header
Name, trust badge, publisher info, install count, average rating, and the Install button.
Description & Screenshots
Full Markdown description, screenshot gallery, and optional demo video.
Artifact List
What the package contains — type and count of each artifact included.
Version History
All releases with changelog, breaking change markers, and version-specific install links.
Reviews & Ratings
User reviews from verified installs, star distribution chart, and review submission form.
Publisher Info
Publisher tier badge, reputation score, and links to their other packages.
Trust Badge — First Signal
The trust badge is displayed in the package header and repeated on the page breadcrumb. It is the first quality signal users see and sets the context for everything else on the page.
| Trust Level | Display | Color |
|---|---|---|
| Official | Official | Green — highest trust |
| Certified | Certified | Blue — human-reviewed |
| Community | Community | Grey — automated scan only |
API Reference
The package detail page data is served by the MarketHub API. These endpoints are also available for platform integrators who want to query package information programmatically.
| Endpoint | Description |
|---|---|
GET /api/packages/{id} | Full package manifest, metadata, install count, and current trust level |
GET /api/packages/{id}/reviews | Paginated list of user reviews with rating and verified install status |
POST /api/packages/{id}/reviews | Submit a new review — requires authentication and verified install |
GET /api/packages/{id}/versions | All version history entries with changelog text |