npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@melt-js/docs-bag

v2026.11.7-1

Published

`vue-bag-admin` 的 VitePress 文档站(由上游 `apps/docs` 迁入),内容包含快速上手、宿主初始化、请求/组件、插件开发、官方插件和发包流程。

Readme

@melt-js/docs-bag

vue-bag-admin 的 VitePress 文档站(由上游 apps/docs 迁入),内容包含快速上手、宿主初始化、请求/组件、插件开发、官方插件和发包流程。

  • 包名:@melt-js/docs-bag(可发布,unpkg 入口 dist/index.html)
  • 端口:40010(dev)/ 40020(preview)
  • 版本号:从 ../libs-bag-entry/package.json 读取,导航栏显示主包版本

命令

# 仓库根目录
pnpm bag:docs:dev
pnpm bag:docs:build
pnpm bag:docs:preview

# 或在本目录
pnpm dev
pnpm build
pnpm preview

构建产物在 docs-bag/dist/(已在根 .gitignore 忽略),缓存目录 .vitepress/cache/ 同样忽略。

发布到 unpkg

pnpm --filter @melt-js/docs-bag run publish:stage

build:unpkg 会用 /@melt-js/docs-bag@<version>/dist/ 作为 base 构建,保证静态资源和站内链接都落在 unpkg 的 dist 目录下。发布后地址:

https://unpkg.com/@melt-js/docs-bag@<version>/dist/index.html

部署

普通构建默认 base 为 /,部署到子路径时设置环境变量:

VITEPRESS_BASE=/docs/ pnpm bag:docs:build

文档里的包名、目录名和命令已统一改成 @melt-js/* 与仓库根目录布局;上游仓库链接(GitHub / 在线预览 / npm 包页)仍指向原项目,便于对照。