Guide

Features

Explore all the features npmx.dev offers

npmx.dev provides a comprehensive set of features for browsing npm packages.

Browse packages

View package details

Each package page displays:

  • README - Rendered markdown documentation
  • Versions - Complete version history with release dates
  • Dependencies - Required packages with version ranges that resolve to actual versions
  • Dependents - Packages that depend on this one (coming soon)

Check package badges

Packages display helpful badges:

BadgeMeaning
ESM / CJS / DualModule format support
TypeScriptIncludes type definitions (links to @types/* if separate)
ProvenanceVerified build from a known source

View security information

  • Vulnerability warnings - Security advisories from the OSV database
  • Deprecation notices - Clear warnings for deprecated packages and versions
  • Provenance indicators - Verified build badges for packages with npm provenance

Browse source code

Press . or click the Code tab to open the code viewer:

  • File tree - Navigate the package structure
  • Syntax highlighting - Language-aware code display
  • Permalinks - Link to specific lines in files

View statistics

  • Download counts - Weekly downloads with sparkline charts
  • Install size - Total size including transitive dependencies
  • Repository stats - Stars and forks from supported git providers

Supported git providers

npmx.dev fetches repository statistics (stars, forks) from these git hosting platforms:

ProviderDescription
GitHubThe most popular git hosting platform
GitLabSelf-hosted instances supported
BitbucketAtlassian's git hosting service
CodebergFree hosting for open source projects
GiteePopular git hosting in China
SourcehutMinimalist software forge
ForgejoCommunity-driven Gitea fork
GiteaSelf-hosted git service
RadiclePeer-to-peer code collaboration
TangledDecentralized git hosting

Explore users and organizations

  • User profiles - View any npm user's public packages at /~username
  • Organization pages - Browse org packages at /@orgname
  • Search and filter - Find packages within user/org lists

JSR availability

See if scoped packages are also available on JSR, the modern JavaScript registry with native TypeScript support.

Quick access to online development environments detected from package READMEs:

PlatformDescription
StackBlitzBrowser-based IDE with instant environments
CodeSandboxOnline code editor and prototyping tool
CodePenSocial development environment for front-end
JSFiddleOnline editor for web snippets
ReplitCollaborative browser-based IDE
GitpodCloud development environments

Custom badges

You can add custom npmx badges to your markdown files using the following syntax: [![Open on npmx.dev](https://npmx.dev/api/registry/badge/YOUR_PACKAGE)](https://npmx.dev/YOUR_PACKAGE)

Do not forget to replace YOUR_PACKAGE with the actual package name.

Here are some examples:

# Default
[![Open on npmx.dev](https://npmx.dev/api/registry/badge/nuxt)](https://npmx.dev/nuxt)

# Organization packages
[![Open on npmx.dev](https://npmx.dev/api/registry/badge/@nuxt/kit)](https://npmx.dev/@nuxt/kit)

# Version-specific badges
[![Open on npmx.dev](https://npmx.dev/api/registry/badge/nuxt/v/3.12.0)](https://npmx.dev/nuxt/v/3.12.0)