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 🙏

© 2025 – Pkg Stats / Ryan Hefner

topo-edit

v0.0.291

Published

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

Downloads

101

Readme

Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.

npm 发布包

1. 初始化包文件夹

切换到待发布包目录,npm 命令以当前路径为基准

npm init

2. 登录 npm 库

npm login

# cncc
npm login --registry https://artifact.srdcloud.cn/artifactory/api/npm/cncc_ip-snapshot-npm-local/

# inoe
npm login --registry https://artifact.srdcloud.cn/artifactory/api/npm/inoe-snapshot-npm-local
wangt091
AKCpBrvkMceDhMQ8sKzr8PiNY6WmUzEN9uXtTN3xHnuWiuvKvHDk341nc3tPHJzsqFu2Rx9Um

3. 发布

npm publish --access public

# cncc
npm publish --registry https://artifact.srdcloud.cn/artifactory/api/npm/cncc_ip-snapshot-npm-local/

# inoe
npm publish --registry https://artifact.srdcloud.cn/artifactory/api/npm/inoe-snapshot-npm-local

4. npm 删除(废弃)发布包或版本

删除 指定版本或包

# cncc
npm unpublish @tudan110/[email protected] --registry https://artifact.srdcloud.cn/artifactory/api/npm/cncc_ip-snapshot-npm-local

# inoe
npm unpublish @tudan110/[email protected] --registry https://artifact.srdcloud.cn/artifactory/api/npm/inoe-snapshot-npm-local
npm unpublish [<pkg>][@<version>] --force

直接强制删除指定包的指定版本,不需要 cd 进入包文件夹内,随处可以执行。

npm unpublish @tudan110/[email protected] --force

直接强制删除指定包,不需要 cd 进入包文件夹内,随处可以执行。

npm unpublish @tudan110/vue-demi-test --force

需要 cd 进入包文件夹内,在执行该命令。

npm unpublish --force

它不会直接删除整个库包,只会删除当前项目 package.json 里面所配置的版本。 如果需要通过它删除整个库包,那么需要手动将当前库包已发布所有版本手动配置到 package.json 进行删除,每配置一个版本执行一下该命令进行移除,一直到所有版本号清空,Packages 里面就不会存在这个库包。

废弃指定版本或包

npm deprecate <pkg>[@<version>] <message>
## 例如
npm deprecate dzmtest '不在更新了'
npm deprecate [email protected] '不在更新了'
废弃的包除了安装时会有警示,并不影响使用。

参考资料

  1. https://juejin.cn/post/6844904112153165832
  2. https://juejin.cn/post/6950896466848137252