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

dinshad

v1.0.21

Published

Create a Next.js app with shadcn UI, theme switching, and AI-friendly development structure

Readme

Dinshad

Create a fully-featured Next.js application with shadcn/ui components and AI-friendly structure in seconds.

Quick Start

mkdir my-project
cd my-project
npx dinshad

This creates a Next.js 14.0.3 project with:

  • 🎨 Complete shadcn/ui component system
  • 🌓 Light/Dark mode + multiple themes
  • 🤖 AI-friendly project structure
  • 🎯 TypeScript + ESLint
  • 📱 Responsive by default
  • 🚀 Ready for development

Project Structure

my-project/
├── app/                    # Next.js pages
│   ├── page.tsx           # Home page
│   └── blank/            # Template page
├── components/            # React components
│   ├── ui/               # shadcn components
│   ├── navbar.tsx        # Navigation + theme
│   └── ...
├── lib/                   # Utilities
├── project.md            # Project requirements
└── todo.md               # Development tasks

Features

Complete Component System

  • 30+ pre-configured shadcn/ui components
  • All components theme-aware
  • TypeScript types included
  • Accessible by default

Available Components:

Layout:
- Card: cards, headers, footers
- Sheet: slide-out panels
- Accordion: collapsible sections
- AspectRatio: responsive containers

Navigation:
- NavigationMenu: main navigation
- DropdownMenu: nested menus
- Menubar: horizontal menus
- Tabs: tabbed interfaces

Inputs:
- Button: various button styles
- Input: text inputs
- Textarea: multiline inputs
- Select: dropdown selections
- Checkbox: toggle boxes
- RadioGroup: option groups
- Switch: toggle switches
- Slider: range inputs

Data Display:
- Table: data tables with sorting
- Calendar: date displays
- Progress: progress indicators

Feedback:
- Alert: status messages
- Toast: notifications
- Skeleton: loading states

Overlay:
- Dialog: modal windows
- AlertDialog: confirmation dialogs
- HoverCard: hover tooltips
- Popover: contextual overlays
- Tooltip: hover tips

Other:
- Avatar: user images
- Badge: status indicators
- Command: command palettes
- Separator: divider lines

Theme System

  • Light/Dark modes
  • Additional themes:
    • Slate (default)
    • Rose
    • Blue
    • Green
    • Orange
  • Easy theme switching from navbar
  • CSS variables for customization

AI Development with Cursor

This template is optimized for AI development using Cursor. To get the best experience:

  1. Open project in Cursor
  2. Set up project rules (Cmd/Ctrl + Shift + J):

Recommended Rules:

You are the primary developer for this project. Follow these guidelines:

1. Project Organization:
   - Read project.md for requirements
   - Use todo.md to track tasks with checkboxes
   - Replace blank/ template with actual features

2. Component Usage:
   - Use pre-installed shadcn components
   - Maintain theme compatibility (light/dark)
   - Follow Next.js app router patterns
   - Add JSDoc comments for components

3. Development Process:
   - Track progress in todo.md
   - Add console.logs for debugging
   - Request user testing when needed
   - Record test results in log.txt
  1. Start development by:
    • Defining requirements in project.md
    • Planning tasks in todo.md
    • Using the blank/ page as a template

Development

Start the development server:

npm run dev

Visit http://localhost:3000 to see your app.

Project Organization

Key Files

  • project.md: Define your project requirements
  • todo.md: Track development progress
  • app/blank/: Template page for new features

Customization

  • Edit themes in app/globals.css
  • Modify navigation in components/navbar.tsx
  • Add new pages in app/ directory
  • All shadcn/ui components ready to use

Need Help?

License

MIT