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

calmui

v1.1.2

Published

A CLI tool for generating and managing a consistent project structure for frontend applications.

Readme

CalmUI

CalmUI is a powerful CLI tool for modern frontend development. It guarantees a clean, scalable, and opinionated project structure from day one, streamlining developer workflows and supporting long-term code quality.

Why??

Ever spent half an hour in a group call debating if it should be components or Components, home or HomePage, only to discover three different folder structures by the end of sprint?

CalmUI ends the chaos.
With project structure, templates, and module files handled for you, you can finally spend less time renaming folders—and more time shipping code.

🚀 Features & Benefits

  • Automated, consistent project structure for React (Vite, Next.js) and more.
  • Custom scaffolding for modules/routes—never worry about file/folder conventions again.
  • Framework-aware: detects and adapts to Vite, Next.js, etc.
  • Dynamic route generation supporting nested and parameterized routes.
  • Pre configured templates like blank template, admin template (Currently these two are available).
  • TypeScript-first setup with zero-config ESM/JS switching.
  • Edge case handling: guards against accidental overwrites and misconfiguration.
  • Easy extensibility—add your own templates as your needs grow!

📦 Installation

Install CalmUI globally via npm:

npm install -g calmui

(Or use npx calmui ... for one-off commands without installation.)

🛠 Project Initialization

Create a new project in a specific folder:

calmui init my-project

Or initialize a project in the current directory (checks if folder is empty and prompts accordingly):

calmui init

During initialization, you’ll be prompted to select a framework:

  • Vite (with Tanstack Router + Tailwind by default)
  • Next.js (with Tailwind)
  • (React Native—coming soon)

A local calmui.json will be created to store scaffolding config.

✨ Route/Module Generation

CalmUI lets you add new routes or modules with a single command, keeping your folder structure consistent.

Generate a basic route:

calmui generate-route /my-route

After executing the command you'll see that folder specific files are created.

Generate a dynamic route:

calmui generate-route /my-route/:id

Advanced routes/nesting examples:

calmui generate-route /my-route/:id/edit
calmui generate-route /product-details/:slug
calmui generate-route /users/accounts/orders/:id/:status/update
calmui generate-route "/(auth)/sign-up" # for routes with route groups
calmui generate-route "/(authenticated)/orders/:orderId" # for routes with route groups
  • Generates boilerplate, folder structure, and pre-wired modules for each part of the route.
  • Works seamlessly for both Vite and Next.js projects.

🧩 Other Commands (Coming Soon)

  • Route migration

📝 Recommended Project Workflow

  1. Install CalmUI globally (or use npx).
  2. Run calmui init to start a new project—pick your stack with the arrow keys.
  3. Use calmui generate-route as needed to build out your app—no more worrying about folder or page naming.
  4. Let CalmUI handle your scaffolds, configs, and structure—focus on real features.

💡 Contributing

Want to add framework support, templating logic, or new generators? PRs are welcome! See the CONTRIBUTING.md for details.

🖥 Compatibility

  • Node.js v18+
  • Works on macOS, Linux, and Windows

❓ FAQ

Q: Do I need to use TypeScript?
A: TypeScript is the default, but CalmUI supports ESM JS output if required.

Q: Can I use CalmUI in an existing (non-empty) folder?
A: Yes, but you’ll be prompted to confirm or clean up the folder first.

TroubleShooting

If you face any kind of problem, unexpected behavior please create an issue. We will try to resolve it as soon as possible.

Credit