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

meisijiya-springboot-cli

v1.0.0

Published

Spring Boot 项目脚手架工具,快速生成企业级后端项目模板

Readme

Spring Boot 项目脚手架 CLI

快速生成基于 Spring Boot 3 + Java 21 的企业级后端项目模板。

特性

  • 🚀 基于 Spring Boot 3.4.4 + Java 21
  • 🗄️ MySQL + MyBatis-Plus 3.5.9
  • 🔐 Sa-Token + JWT 认证授权
  • 💾 Redis + Redisson 分布式锁
  • 📧 邮件发送支持
  • 📖 Knife4j API 文档
  • 🔄 统一响应 + 全局异常处理
  • 📝 多环境配置 (dev/prod)

安装

npm install -g boot-scaffold-cli

使用

# 创建新项目
scaffold create

# 或直接指定项目名
scaffold create my-api

交互说明

运行后会提示以下配置项:

| 配置项 | 说明 | 示例 | |--------|------|------| | 项目名称 | Maven artifactId | user-service | | 项目描述 | 项目描述信息 | 用户服务 | | Group ID | Maven groupId | com.example | | 基础包名 | Java 基础包路径 | com.example.user | | 作者名称 | 代码作者署名 | Your Name | | 作者邮箱 | 联系邮箱 | [email protected] | | 数据库名 | MySQL 数据库名 | user_service_db | | Token 名称 | Sa-Token 名称 | userServiceToken | | 输出目录 | 项目生成路径 | 当前工作目录 |

生成项目结构

my-api/
├── pom.xml
├── sql/
│   └── my_api_db.sql
├── src/
│   ├── main/
│   │   ├── java/com/example/user/
│   │   │   ├── MyApiApplication.java
│   │   │   ├── common/        # 公共组件
│   │   │   ├── config/        # 配置类
│   │   │   ├── constants/     # 常量
│   │   │   ├── controller/    # 控制器
│   │   │   ├── manager/       # 管理器
│   │   │   └── module/        # 业务模块
│   │   └── resources/
│   │       ├── application.yml
│   │       ├── application-dev.yml
│   │       ├── application-prod.yml
│   │       └── logback-spring.xml
│   └── test/
└── .gitignore

下一步

cd my-api
git init
mvn clean install

License

MIT