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

jjb-cmd

v2.5.8

Published

jjb-cmd命令行工具

Downloads

371

Readme

JJB-CMD 前端脚手架工具

🛠 安装

全局安装

npm install -g jjb-cmd

本地安装

npm install jjb-cmd

快速开始

查看版本

jjb-cmd v

查看帮助

jjb-cmd help

命令说明

基础命令

| 命令 | 描述 | 示例 | |------|------|------| | v | 查看当前版本 | jjb-cmd v | | help | 显示帮助信息 | jjb-cmd help |

开发工具

代码优化

jjb-cmd opti

自动优化项目代码,包括:

  • 代码格式化和美化
  • 依赖分析和优化建议
  • 性能优化建议

组件管理

用户认证

jjb-cmd auth <username> <password>

参数说明:

  • username: 用户名
  • password: 密码

示例:

jjb-cmd auth admin 123456

发布组件

jjb-cmd publish <version>

参数说明:

  • version: 发布版本号,可设置为 latest

示例:

# 发布指定版本
jjb-cmd publish 1.0.0

# 发布最新版本
jjb-cmd publish latest

参数说明:

  • yes: 发布时需要提交信息
  • no: 发布时不需要提交信息

部署管理

推送微应用

jjb-cmd push java <env>

参数说明:

  • env: 部署环境(test/prod)

示例:

# 部署到测试环境
jjb-cmd push java test

# 部署到生产环境
jjb-cmd push java prod

清理操作

jjb-cmd rm-rf

清理临时文件和缓存。


## 开发

### 项目结构

jjb-cmd/ ├── bin/ # 命令行入口 │ └── command.js ├── src/ # 源代码 │ ├── auth.js # 认证模块 │ ├── code-optimization.js # 代码优化 │ ├── config.js # 配置管理 │ ├── publish.js # 发布模块 │ ├── push.js # 推送模块 │ ├── rm-rf.js # 清理模块 │ └── utils.js # 工具函数 ├── publish/ # 发布目录 ├── build.js # 构建脚本 ├── package.json # 项目配置 └── README.md # 项目文档


### 构建

```bash
node build.js

构建过程包括:

  1. 代码混淆
  2. 文件复制
  3. 依赖打包

更新日志

v2.5.0 (当前版本)

  • 完善文档和帮助信息
  • 优化错误处理机制
  • 增强代码优化功能

许可证

本项目基于 MIT 许可证开源。