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

jolly-h5cli-all

v1.0.2

Published

拷贝 `build` 文件夹下的 `J-h5.config.js` 与 `J-h5.js` 至项目根目录,自动生成文件

Readme

一,环境要求

node: 11.12.0

1, 环境配置
cd new && npm install
2,运行
node index.js

二,发布自己的npm包

1,注册npm用户
2, 本地登录存储证书

mac下打开终端, windows打开cmd输入

npm login

image.png

3, 编辑自己的项目及脚本

见本项目的

4,发布自己的npm

在当前项目根目录路下运行下面命令

npm publish
5, 发布的小问题

5.1, 发布报错:Private mode enable, only admin can publish this module [no_perms] Private mode enable, only admin can publish this module: jolly-h5cli-new。

出现原因:使用的是淘宝源cnpm,登陆到的是cnpm

解决方法:切换到npmjs的网址,代码如下


npm config set registry http://registry.npmjs.org/

### 检查npm的引用
npm config get registry

发布成功后记得切会淘宝的源

npm config set registry=https://registry.npm.taobao.org/

5.2, 发布再次报错:operation not permitted, unlink 'C:\Users\ADMINI~1\AppData\Local\Temp\npm-12968-5db632f8\tmp\fromDir-e8ca233f\package.tgz'.... 出现原因:登录过期

解决方法:用npm login重新登录

5.3, 发布再次报错:publish Failed PUT 403 npm ERR! code E403 npm ERR! Forbidden : jollychic-h5cli-new

出现原因:邮箱未验证

解决方案:前往注册邮箱去验证,验证后才能正常发布

6, 如何更新npm包

当你包的内容修改之后,我们需要

npm version <update_type>

npm publish

update_type就是版本号的意思,会自动更新package.json里面的版本号 然后重新 npm publish,更新就会完成。

三,文档

1, 发布步骤参考

https://blog.csdn.net/weixin_38080573/article/details/88080062\

https://www.jianshu.com/p/4c009867060a?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation

四, 脚本的使用

1, 安装包
npm install -g jolly-h5cli-all
2, 使用
跳转到h5-font-end-upgrade项目下面执行脚本

h5cli