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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@thirdbracket/create-bracketui-app

v1.0.8

Published

CLI tool to scaffold new projects with BracketUI component library

Readme

Create BracketUI App

npm version License: MIT

The fastest way to create a new React/Next.js project with BracketUI component library pre-configured and ready to use.

🚀 Quick Start

Create a new project in seconds:

npx @thirdbracket/create-bracketui-app my-app
cd my-app
npm run dev

✨ What's Included

Your new project comes with:

  • Next.js 15.3.7+ - Latest App Router with security patches
  • 🔒 Security First - CVE-2025-66478 vulnerability fixes included
  • 🎨 BracketUI Components - Pre-installed and configured
  • 🌙 Dark Mode - ThemeScript and ThemeToggle ready to use
  • 📦 ES6 Module Support - Modern Tailwind config with ES6 imports
  • 🎯 TypeScript - Full type safety
  • 📱 TailwindCSS - Utility-first styling
  • 🔧 ESLint - Code quality and consistency
  • 📦 Optimized Build - Production-ready configuration

📋 Usage Options

Interactive Mode

npx @thirdbracket/create-bracketui-app
# You'll be prompted to enter a project name

Direct Project Name

npx @thirdbracket/create-bracketui-app my-awesome-app

With Specific Version

npx @thirdbracket/create-bracketui-app@latest my-app

🏗️ Project Structure

Your generated project will have this structure:

my-app/
├── src/
│   └── app/
│       ├── globals.css
│       ├── layout.tsx      # ThemeScript included
│       └── page.tsx        # Sample BracketUI components
├── public/
├── tailwind.config.js      # BracketUI plugin configured
├── package.json
└── tsconfig.json

🎨 Pre-configured Components

The template includes examples of:

  • Button - Various sizes and styles
  • ThemeToggle - Dark/light mode switcher
  • ThemeScript - Automatic theme detection
// Already set up in your new project
import { Button, ThemeToggle, ThemeScript } from "@thirdbracket/bracketui";

export default function Home() {
  return (
    <div>
      <Button href="/dashboard">Get Started</Button>
      <ThemeToggle />
    </div>
  );
}

🛠️ Development

After creating your project:

# Start development server
npm run dev

# Build for production
npm run build

# Start production server
npm start

# Run linting
npm run lint

📦 Available Scripts

| Script | Description | |--------|-------------| | npm run dev | Start development server on http://localhost:3000 | | npm run build | Create production build | | npm start | Start production server | | npm run lint | Run ESLint for code quality |

🎯 Next Steps

After creating your project:

  1. Explore Components - Check out the BracketUI documentation
  2. Customize Theme - Modify tailwind.config.js for your brand
  3. Add Pages - Create new routes in the src/app directory
  4. Deploy - Deploy to Vercel, Netlify, or your preferred platform

🔧 Customization

TailwindCSS Configuration

The generated project includes a pre-configured tailwind.config.mjs with ES6 imports:

// tailwind.config.mjs
import { bracketuiPlugin } from "@thirdbracket/bracketui";

export default {
  darkMode: "class",
  content: [
    "./src/**/*.{js,ts,jsx,tsx}",
    "./node_modules/@thirdbracket/bracketui/**/*.{js,ts,jsx,tsx}",
  ],
  plugins: [bracketuiPlugin],
};

Adding More Components

Install additional BracketUI components as needed:

import { 
  Button, 
  Card, 
  Navbar, 
  Megamenu, 
  Tab 
} from "@thirdbracket/bracketui";

🐛 Troubleshooting

Common Issues

Port already in use:

# Next.js will automatically use the next available port
# Or specify a different port:
npm run dev -- -p 3001

Module not found:

# Clear cache and reinstall
rm -rf node_modules package-lock.json
npm install

🤝 Contributing

Found a bug or want to contribute?

📄 License

MIT © Third Bracket

🔗 Related


Happy coding with BracketUI! 🚀