Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 2.27 KB

File metadata and controls

47 lines (36 loc) · 2.27 KB
title URL Structure
description Understand how URLs work in npmx.dev
navigation
icon
i-lucide-link

npmx.dev supports npm-compatible URLs and simpler alternatives.

Use npm-compatible URLs

Replace npmjs.com with npmx.dev (or xnpmjs.com) in any npm URL:

npm URL npmx.dev equivalent
npmjs.com/package/nuxt npmx.dev/package/nuxt
npmjs.com/package/@nuxt/kit npmx.dev/package/@nuxt/kit
npmjs.com/package/vue/v/3.4.0 npmx.dev/package/vue/v/3.4.0
npmjs.com/search?q=vue npmx.dev/search?q=vue
npmjs.com/~sindresorhus npmx.dev/~sindresorhus
npmjs.com/org/nuxt npmx.dev/org/nuxt

::tip Install the npmx-replace browser extension for automatic redirects. ::

Use simpler URLs

npmx.dev also supports shorter, cleaner URLs:

Pattern Example
/<package> /nuxt
/<package>@<version> /vue@3.4.0
/@scope/name /@nuxt/kit
/@org /@nuxt
/~username /~sindresorhus

Understand URL limitations

Some npm URLs are not yet supported:

URL Pattern Status
/package/<name>/access Not yet supported
/package/<name>/dependents Coming soon
/settings/* Not supported (account settings)