|
| 1 | +--- |
| 2 | +title: Features |
| 3 | +description: Explore all the features npmx.dev offers |
| 4 | +navigation: |
| 5 | + icon: i-lucide-sparkles |
| 6 | +--- |
| 7 | + |
| 8 | +npmx.dev provides a comprehensive set of features for browsing npm packages. |
| 9 | + |
| 10 | +## Browse packages |
| 11 | + |
| 12 | +### View package details |
| 13 | + |
| 14 | +Each package page displays: |
| 15 | + |
| 16 | +- **README** - Rendered markdown documentation |
| 17 | +- **Versions** - Complete version history with release dates |
| 18 | +- **Dependencies** - Required packages with version ranges that resolve to actual versions |
| 19 | +- **Dependents** - Packages that depend on this one (coming soon) |
| 20 | + |
| 21 | +### Check package badges |
| 22 | + |
| 23 | +Packages display helpful badges: |
| 24 | + |
| 25 | +| Badge | Meaning | |
| 26 | +| ---------------- | ----------------------------------------------------------- | |
| 27 | +| ESM / CJS / Dual | Module format support | |
| 28 | +| TypeScript | Includes type definitions (links to `@types/*` if separate) | |
| 29 | +| Provenance | Verified build from a known source | |
| 30 | + |
| 31 | +### View security information |
| 32 | + |
| 33 | +- **Vulnerability warnings** - Security advisories from the OSV database |
| 34 | +- **Deprecation notices** - Clear warnings for deprecated packages and versions |
| 35 | +- **Provenance indicators** - Verified build badges for packages with npm provenance |
| 36 | + |
| 37 | +## Browse source code |
| 38 | + |
| 39 | +Press `.` or click the **Code** tab to open the code viewer: |
| 40 | + |
| 41 | +- **File tree** - Navigate the package structure |
| 42 | +- **Syntax highlighting** - Language-aware code display |
| 43 | +- **Permalinks** - Link to specific lines in files |
| 44 | + |
| 45 | +## View statistics |
| 46 | + |
| 47 | +- **Download counts** - Weekly downloads with sparkline charts |
| 48 | +- **Install size** - Total size including transitive dependencies |
| 49 | +- **Repository stats** - Stars and forks from GitHub, GitLab, Bitbucket, Codeberg, Gitee, and Sourcehut |
| 50 | + |
| 51 | +## Explore users and organizations |
| 52 | + |
| 53 | +- **User profiles** - View any npm user's public packages at `/~username` |
| 54 | +- **Organization pages** - Browse org packages at `/@orgname` |
| 55 | +- **Search and filter** - Find packages within user/org lists |
| 56 | + |
| 57 | +## Access related resources |
| 58 | + |
| 59 | +- **JSR availability** - See if scoped packages are also available on JSR |
| 60 | +- **Playground links** - Quick access to StackBlitz, CodeSandbox, and other demo environments from READMEs |
0 commit comments