npmx.dev README

The project's README from github.com/npmx-dev/npmx.dev. As one markdown file: README.md.

npmx.dev

A fast, modern browser for the npm registry.

Screenshot of npmx.dev showing the nuxt package

Vision

The goal of npmx.dev is to build a fast, modern browser for the npm registry.

We're not replacing the npm registry, but instead providing an elevated developer experience through a fast, modern UI.

What npmx offers:

Shortcuts

Features

Package browsing

User & org pages

Comparison with npmjs.com

Feature npmjs.com npmx.dev
Package search ✅ ✅
Package details & README ✅ ✅
Version history ✅ ✅
Dependencies list ✅ ✅
Dependents list ✅ 🚧
User profiles ✅ ✅
Organization pages ✅ ✅
Package comparison ❌ ✅
URL-driven/shareable feature views ❌ ✅
Provenance indicators ✅ ✅
Code browser ✅ ✅
Generated API docs ❌ ✅
Version diff ❌ ✅
Changelog view ❌ ✅
Timeline view ❌ ✅
Dark mode ✅ 🆕 ✅
Internationalization ❌ ✅
Accessibility statement and audits ❌ ✅
Outdated dependency warnings ❌ ✅
Module format badges (ESM/CJS/WASM) ❌ ✅
TypeScript types indicator ✅ ✅
Install size calculation ❌ ✅
Install script warnings ❌ ✅
License change warnings ❌ ✅
Module replacement suggestions ❌ ✅
JSR cross-reference ❌ ✅
Vulnerability warnings ✅ ✅
Deprecation notices ✅ ✅
Download charts ✅ ✅
Package likes and leaderboard ❌ ✅
Playground links ❌ ✅
Keyboard navigation ❌ ✅
Multi-provider repo support ❌ ✅
Version range resolution ❌ ✅
Package admin (access/owners) ✅ ✅
Org/team management ✅ ✅
2FA/account settings ✅ ❌
Claim new package names ✅ ✅

🚧 = coming soon

URL structure

npm compatibility

npmx.dev supports npm permalinks – just replace npmjs.com with npmx.dev or xnpmjs.com to get the npmx experience:

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] Want automatic redirects? Try the npmx-redirect extension for Chrome / Firefox.

Not yet supported

Simpler URLs

npmx.dev also supports shorter, cleaner URLs:

Pattern Example
/<package> /nuxt
/<pkg>@<version> /[email protected]
/@scope/name /@nuxt/kit
/@org /@nuxt
/~username /~sindresorhus

Tech stack

Contributing

We welcome contributions – please do feel free to explore the project and improve things. See CONTRIBUTING.md for guidelines on how to get up and running!

If you're building something cool, let us know! 🙏

License

Made with ❤️

Published under MIT License.

Sponsors

Sponsors

npmx.dev (npmx-dev/npmx.dev)

Searching Database…

这是什么?npmx.dev 是一个快速、现代的 npm 仓库浏览器,为你提供更快捷、信息更丰富的界面来查询包、用户和组织,同时并不取代仓库本身。
它会取代 npmjs.com,还是只是构建在其之上?它是构建在现有 npm 仓库之上的界面层,并非取代品;任何 npmjs.com 的 URL 在 npmx.dev 上都以相同方式工作。
怎么开始在 npmx 而不是 npmjs.com 上浏览包?只要把任何现有 URL 里的 npmjs.com(或 xnpmjs.com)换成 npmx.dev 即可,例如 npmjs.com/package/nuxt 变成 npmx.dev/package/nuxt,用户/组织页面也是同样做法。
通过 npmx 管理自己的包需要安装什么吗?只是浏览包不需要任何额外安装,但管理你的包、团队和组织的后台功能依赖你本地的 npm CLI。
npmjs.com 的哪些功能在 npmx 上还没有?有几项尚未移植:反向依赖(dependents)列表标记为即将推出,每个包的访问 URL 和账户设置页面也尚不支持。
npmx 提供了哪些 npmjs.com 没有的功能?它增加了版本差异对比、更新日志和时间线视图、自动生成的 API 文档、安装体积计算、过期依赖和许可证变更警告,以及包对比工具,这些 npmjs.com 目前都没有。
能并排比较多个包吗?可以,npmx 提供对比功能,可以按下载量、体积、依赖、TypeScript 类型、安全性和仓库健康度对包进行逐项比较。
界面支持英语以外的语言吗?支持,界面已翻译成 39 种以上的语言区域,包括从右到左书写的语言,这也是其一流无障碍和国际化投入的一部分。
npmx 是用什么构建的?它是一个运行在 Nitro 上的 Nuxt 4 应用,用 UnoCSS 做样式,采用 nuxt-og-image,并以 npm Registry API 作为数据源。
Creator
npmx-dev
Size
28.1 MB
Stars
3.6K
Age
8mo
Commits · 90 Days