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-yuv-bun-app

v1.0.0

Published

Create a new Next.js + Bun app with one command

Readme

create-yuv-bun-app

npm version npm downloads License

🚀 Create a production-ready Next.js + Bun app in seconds

Get started with the ultimate Next.js boilerplate featuring Bun, Shadcn/ui, Tailwind CSS, and Google Authentication - all set up with one command.

View TemplateReport Issuenpm Package


⚡ Quick Start

Installation

Create a new project with one command:

With Bun (Recommended - 30x faster)

bun create yuv-bun-app my-project

With npm

npm create yuv-bun-app my-project

With pnpm

pnpm create yuv-bun-app my-project

With Yarn

yarn create yuv-bun-app my-project

Next Steps

After installation completes:

cd my-project

Configure environment variables:

  1. Copy .env.example to .env.local
  2. Add your Google OAuth credentials (see setup guide)

Start development:

bun run dev

Visit http://localhost:3000 🎉


🎁 What You Get

This command sets up a complete, production-ready Next.js application with:

🚀 Core Stack

  • Next.js 16 - Latest with App Router & Server Components
  • Bun - 30x faster than npm, native TypeScript support
  • React 19 - Latest React with concurrent features
  • TypeScript 5 - Full type safety with strict mode

🎨 UI & Styling

🔐 Authentication

  • NextAuth.js - Complete authentication solution
  • Google OAuth - Pre-configured (just add credentials)
  • Protected Routes - Example implementations included
  • Session Management - Server & client-side handling

🛠️ Developer Experience

  • React Hook Form - Performant forms
  • Zod - TypeScript-first schema validation
  • Hot Reloading - Instant feedback with Turbopack
  • ESLint Ready - Code quality tools configured

📦 Pre-installed Components

  • Avatar
  • Button
  • Card
  • Dropdown Menu
  • Form
  • Input
  • Label
  • Mode Toggle
  • Separator

📊 Performance

| Metric | npm | Bun | Winner | |--------|-----|-----|--------| | Installation | ~45s | ~1.5s | 🏆 Bun (30x faster) | | Disk Space | ~500MB | ~200MB | 🏆 Bun (60% smaller) | | Script Execution | ~150ms | ~25ms | 🏆 Bun (6x faster) |


🎯 Perfect For

✅ SaaS applications
✅ Landing pages
✅ Web applications
✅ Portfolio sites
✅ MVP development
✅ Hackathon projects


📚 Documentation

Full Template Documentation

Quick Commands

After creating your project:

# Development
bun run dev          # Start dev server

# Building
bun run build        # Create production build
bun run start        # Start production server

# Linting
bun run lint         # Run ESLint

# Add Shadcn components
bunx shadcn add [component-name]

🔧 Requirements

  • Bun (recommended) or Node.js 18+
  • Git

Install Bun

Linux/macOS:

curl -fsSL https://bun.sh/install | bash

Windows (PowerShell):

powershell -c "irm bun.sh/install.ps1 | iex"

🐛 Troubleshooting

Installation fails

# Clear cache and try again
bun pm cache rm
bun create yuv-bun-app my-project

Permission errors

# On Linux/macOS, ensure proper permissions
sudo chown -R $USER my-project

Git not found

Make sure Git is installed: https://git-scm.com/downloads


🤝 Contributing

Found a bug or have a suggestion?


📄 License

MIT © Yuval Avidani


👨‍💻 About the Creator

Yuval Avidani
AWS AI Superstar • GitHub Star • Founder of YUV.AI Community

AI Builder & Speaker with 2 decades of experience in tech

Website GitHub LinkedIn Twitter


💖 Support

If this tool helped you ship faster:


Built with ❤️ by Yuval Avidani

🤖 Powered by AI • Optimized for Developers