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-next-template-malahimdev

v1.0.2

Published

A production-ready Next.js starter template with Bun, TypeScript, Tailwind CSS, shadcn/ui, and React 19

Readme

Create Next Template - Malahim Dev

A production-ready Next.js 16 starter template with Bun runtime, TypeScript, Tailwind CSS, shadcn/ui, and React 19.

NPM Package: create-next-template-malahimdev


🚀 Quick Start

# Using npm
npx create-next-template-malahimdev my-app
cd my-app
bun install
bun run dev

Then open http://localhost:3000 🎉


Prerequisites

Before you begin, ensure you have:

  • Node.js >= 18.0.0 (download)
  • Bun >= 1.0.0 (install) - Optional but recommended for 3x faster builds
  • npm - Comes bundled with Node.js

What's Included

🛠️ Core Stack

  • Next.js 16 - Modern React framework with App Router
  • React 19 - Latest React features
  • TypeScript - Full type safety
  • Tailwind CSS v4 - Utility-first styling
  • shadcn/ui - Beautiful, accessible components
  • Bun - Ultra-fast JavaScript runtime

✨ Pre-configured Features

  • 🎨 Dark/Light mode with next-themes
  • 📱 Fully responsive design
  • 🎭 1000+ Lucide Icons
  • 🔔 React Hot Toast notifications
  • ✅ ESLint configured
  • 🚀 Optimized for production

Available Scripts

bun run dev      # Start development server
bun run build    # Build for production
bun run start    # Start production server
bun run lint     # Run ESLint

Project Structure

my-app/
├── app/                  # Next.js routes & layout
├── components/           # Reusable components
│   └── ui/              # shadcn/ui components
├── lib/                 # Utilities & helpers
├── public/              # Static assets
├── tsconfig.json        # TypeScript config
└── package.json

Configuration

Environment Variables

Create .env.local in project root:

NEXT_PUBLIC_API_URL=http://localhost:3000

Variables prefixed with NEXT_PUBLIC_ are exposed to the browser.


Adding Components

Add more UI components from shadcn/ui:

npx shadcn-ui@latest add button card dialog input

Browse all components: ui.shadcn.com

Create Custom Components

// components/MyComponent.tsx
export default function MyComponent() {
  return <div className="p-4 rounded-lg bg-white dark:bg-slate-900">
    Hello World
  </div>
}

Deployment

✅ Vercel (Recommended)

  1. Go to vercel.com
  2. Sign up and create new project
  3. Connect your repository
  4. Add environment variables if needed
  5. Click "Deploy"

Other Options

  • Netlify - bun add -d @netlify/cli && netlify deploy
  • Docker - Use Dockerfile with Bun runtime
  • Node.js - bun run build && node node_modules/.bin/next start

Common Issues

| Issue | Solution | |-------|----------| | Port 3000 in use | bun run dev --port 3001 | | Modules not found | rm -rf node_modules && bun install | | Styles not applying | Restart dev server, clear browser cache | | TypeScript errors | Check tsconfig.json path aliases match imports |


FAQ

Can I use npm instead of Bun?
Yes! Bun is 3x faster but npm works fine too.

Is this production-ready?
Yes! Includes best practices and optimizations.

How do I add new pages?
Create a folder in app/. Example: app/about/page.tsx/about

Can I customize everything?
Absolutely! All configs are editable and well-documented.


Learning Resources


Support


Contributing

We welcome contributions!

  1. Fork the template
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

MIT - Free to use for commercial projects


Acknowledgments

Built with inspiration from:


⭐ Support This Project

If this template helped you:


Made with ❤️ by Malahim Haseeb