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

create-java-springboot

v0.1.0

Published

Interactive CLI to scaffold Spring Boot projects

Readme

create-java-springboot

Interactive CLI to scaffold Spring Boot projects — like create-next-app but for Spring.

Usage

npx create-java-springboot

Or install globally:

npm i -g create-java-springboot
create-java-springboot

Features

  • Fetch live dependency list from start.spring.io
  • Preset templates (REST API, Full Stack, Microservice, Minimal)
  • Interactive multiselect with descriptions
  • Choose Java version, Spring Boot version, build tool
  • Auto-install Java via SDKMAN or Homebrew if version mismatch is detected

Manual Installation

If you prefer not to use npx, you can clone and run locally.

Prerequisites

| Tool | Version | Check | |------|---------|-------| | Node.js | >= 18 | node --version | | pnpm | any | pnpm --version | | unzip | system | which unzip |

unzip is used to extract the generated project. On macOS it is pre-installed. On Linux: sudo apt install unzip / sudo yum install unzip.

Steps

# 1. Clone the repository
git clone https://github.com/your-username/create-java-springboot.git
cd create-java-springboot

# 2. Install dependencies
pnpm install

# 3. Build
pnpm build

# 4. Run
node dist/index.js

Or run without building (dev mode):

pnpm dev

Java Installation

The CLI will detect whether the Java version you selected is installed on your machine. If not, it will prompt you to install it automatically.

Option 1 — SDKMAN (recommended, manages multiple versions)

# Install SDKMAN
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"

# Install a specific Java version (e.g. Java 21 via Eclipse Temurin)
sdk install java 21-tem

# List available versions
sdk list java

Option 2 — Homebrew (macOS)

# Install a specific version
brew install openjdk@21

# Create symlink so the system can find it
sudo ln -sfn "$(brew --prefix)/opt/openjdk@21/libexec/openjdk.jdk" \
  /Library/Java/JavaVirtualMachines/openjdk-21.jdk

Option 3 — Manual download

Download from Adoptium (Eclipse Temurin) and follow the installer for your OS.

Verify installation

java -version
# openjdk version "21.x.x" ...

Running the Generated Project

After the project is created:

cd my-app

# Gradle
./gradlew bootRun

# Maven
./mvnw spring-boot:run

Dev

pnpm install
pnpm dev     # run with tsx (no build needed)
pnpm build   # compile TypeScript → dist/

Publish

pnpm build
npm publish