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-zephyr-apps

v1.2.1

Published

A CLI tool to create web applications using Zephyr.

Readme

Create Zephyr Apps

Zephyr Cloud | Zephyr Docs | Discord | Twitter | LinkedIn

A CLI tool to create web applications using Zephyr. This package provides templates and scaffolding for quickly setting up new projects with Zephyr integration.

Installation

# npm (global)
npm install -g create-zephyr-apps

# npx (recommended)
npx create-zephyr-apps@latest

# yarn
yarn create zephyr-apps

# pnpm
pnpm create zephyr-apps

# bun
bunx create-zephyr-apps

Usage

Interactive Mode

Run the command without arguments in a TTY to choose the directory, project type, template, and whether to initialize Git:

npx create-zephyr-apps@latest
┌  Bootstrap your project using Zephyr!
│
◇  Zephyr Cloud
│  The only sane way to do micro-frontends
│  https://docs.zephyr-cloud.io/
│
◇  Where should we create your project?
│  ./react-vite
│
◇  What type of project you are creating?
│  Web
│
◇  Pick a template:
│  React + Rspack
│
◇  Project successfully created at react-vite!
│
◇  Would you like to initialize a new Git repository?
│  Yes
│
◇  Run the application!
│  cd ./react-vite
│  pnpm install
│  pnpm run build
│
◇  Next steps.
│  - Discord
│  - Documentation
│  - Open an issue
└

Non-interactive Mode

Pass a project directory to scaffold without prompts. Non-interactive runs use the pinned react-rsbuild template by default and do not initialize Git, install dependencies, or build unless those actions are explicitly requested.

The directory can be positional:

npx create-zephyr-apps@latest ./my-app --no-git

Or supplied with --directory:

npx create-zephyr-apps@latest --directory ./my-app --no-git

This complete example is also tested against the CLI parser:

create-zephyr-apps ./apps/example --template react-rsbuild --package-manager pnpm --no-git --install --build --json

--build implies --install. Install and build failures preserve the command's non-zero exit code.

Deterministic templates

Each published CLI version pins both template repositories to exact commits. Use the release-compatible revision by default. To reproduce a different known revision, pass its full 40-character commit SHA:

npx create-zephyr-apps@latest ./my-app \
  --template react-rsbuild \
  --template-revision 881c3a83d2f1888720c3da72e9b7a055aae1e3c7 \
  --no-git

List the template IDs and the pinned web-template revision with:

npx create-zephyr-apps@latest --list-templates
npx create-zephyr-apps@latest --list-templates --json

The CLI rejects unknown template IDs and refuses to write into a non-empty directory.

Package manager and Git behavior

Choose a package manager explicitly with --package-manager pnpm, npm, yarn, or bun. Otherwise, the CLI checks the copied template's packageManager field and lockfile, the invoking package-manager user agent, the current project, and finally falls back to pnpm.

Git initialization and the initial commit only happen after an interactive confirmation or when --git is passed. Use --no-git to record that choice explicitly in scripts.

JSON output

--json disables prompts and emits one JSON document. It includes:

  • The resolved output directory, project type, template repository, and exact template commit.
  • The selected package manager and its version when installation is requested.
  • Created files, build artifacts, and resolved workspace/installed package versions.
  • Every executed command with its stage, working directory, and exit code.
  • Structured failures. Failed install and build runs still emit JSON before returning the underlying exit code.

CLI options

Usage: create-zephyr-apps [directory] [options]

--directory, -d <path>           Project directory (alternative to positional)
--template, -t <id>              Web template ID (default: react-rsbuild)
--project-type <type>            web or react-native (default: web)
--package-manager <manager>      pnpm, npm, yarn, or bun
--template-revision <commit>     Override the pinned template with a full SHA
--git / --no-git                 Enable or disable Git initialization
--install                        Install dependencies
--build                          Install dependencies and run the build script
--json                           Emit one machine-readable JSON result
--yes, -y                        Use deterministic defaults without prompting
--list-templates                 List available web template IDs
--version, -v                    Print the CLI version
--help, -h                       Show help

Available Templates

Bundlers

  • react-vite - React app powered by Vite
  • react-rspack - React application built with Rspack
  • parcel-react - React application using Parcel
  • rolldown-react - React example using Rolldown
  • rollup-react - React application using Rollup
  • tsdown - React component library starter with tsdown

Module Federation

  • airbnb-clone - Airbnb clone with React, TypeScript, and Module Federation
  • angular-rsbuild - Angular application with Module Federation using Rsbuild
  • angular-vite-mf - Angular application with Module Federation using Vite
  • react-rsbuild - React application with Module Federation using Rsbuild
  • react-vite-rspack-webpack - Federated React apps powered by Vite, Webpack, and Rspack
  • react-webpack - React application with Module Federation using Webpack
  • tractor-sample - Micro-frontend sample with Rspack and Module Federation

Frameworks

  • angular-vite - Angular app powered by Vite
  • astro - Astro static site generator example
  • ember-vite - Ember application using Vite
  • modernjs - ModernJS app
  • rspress - Rspress static site generator example
  • solid-vite - Solid app using Vite
  • svelte-vite - Svelte app using Vite
  • tanstack-start - TanStack Start application with Vite

Server

  • nitro-hono - Hono running on Nitro server with Zephyr Cloud deployment
  • nitro-elysia - Elysia running on Nitro server with Zephyr Cloud deployment
  • nitro-hello-world - Minimal Nitro server with Zephyr Cloud deployment

Build Systems

  • nx-rspack-mf - Monorepo using NX, React, and Rspack with Module Federation
  • turborepo-rspack-mf - Monorepo using Turborepo, React, and Rspack with Module Federation

Features

  • 🚀 Quick project scaffolding
  • 📦 Multiple bundler support (Vite, Webpack, Rspack, Parcel)
  • 🔧 Pre-configured Zephyr integration
  • 🏗️ Module Federation ready templates
  • 📱 React Native support with Re.Pack
  • 🎯 TypeScript support out of the box
  • 🌐 Server-side templates (Nitro)

Contributing

We welcome contributions! Please read our contributing guidelines for more information.

License

Licensed under the Apache-2.0 License. See LICENSE for more information.