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

nextjs-starter-kit

v1.0.5

Published

Create Next.js-powered React apps with one command

Readme

Next.js Starter

Next.js pnpm License: MIT Prettier ESLint

A modern Next.js starter template with modular structure, reusable UI components, and best practices for scalable web development.


Features

  • Next.js 15.5.0 with App Router
  • Modular folder structure (src/animations, src/assets, src/components, etc.)
  • Reusable UI components (Accordion, Button, Card, Table, etc.)
  • Context, hooks, and helpers for state management and utilities
  • Axios setup for API requests
  • QueryClient for data fetching and caching
  • Global styles and custom fonts
  • Linting and formatting with ESLint, Prettier, and lint-staged
  • PostCSS for advanced CSS processing
  • Husky for Git hooks
  • Tailwind CSS for utility-first styling
  • Prettier and Prettier-plugin-tailwindcss for code formatting
  • Embla Carousel, Recharts, Lucide, Tabler Icons, and more for UI/UX enhancements
  • Zod for schema validation
  • React Query for data fetching

Getting Started

Prerequisites

  • Node.js 22+
  • pnpm (recommended) or npm/yarn

Installation

pnpm install

Running the Development Server

pnpm dev

Open http://localhost:3000 in your browser.

Building for Production

pnpm build

Project Structure

src/
  animations/         # Animation utilities
  app/                # Next.js app router structure
    (routes)/         # Route groups
      (home)/         # Home page
  assets/             # Static assets and logos
  components/         # UI components, constants, context, helpers, hooks, lib, providers, schema, shared, styles, utils, validations
    ui/               # Reusable UI elements
    constants/        # App-wide constants
    context/          # React context providers
    helpers/          # Utility functions
    hooks/            # Custom React hooks
    lib/              # Libraries (axios, queryClient, utils)
    providers/        # Context providers
    schema/           # Validation schemas
    shared/           # Shared resources (icons, etc.)
    styles/           # Fonts and global styles
    utils/            # Utility functions
    validations/      # Validation logic

Scripts

  • pnpm dev — Start development server
  • pnpm build — Run lint, format, and build for production
  • pnpm lint — Run ESLint
  • pnpm format — Format code with Prettier
  • pnpm check-format — Check code formatting
  • pnpm prepare — Prepare Husky hooks
  • pnpm start — Start production server

Dependencies

Main

  • [email protected]
  • [email protected], [email protected]
  • axios
  • @tanstack/react-query, @tanstack/react-query-devtools
  • @radix-ui/react-* (Accordion, Dialog, Tabs, etc.)
  • @tabler/icons-react, lucide-react
  • embla-carousel-react
  • recharts
  • zod
  • input-otp
  • sonner
  • tailwind-merge
  • next-themes
  • date-fns
  • class-variance-authority, clsx
  • vaul

Dev

  • eslint, eslint-config-next, eslint-config-prettier, eslint-plugin-react-hooks, @tanstack/eslint-plugin-query, @eslint/eslintrc
  • prettier, prettier-plugin-tailwindcss
  • husky
  • lint-staged
  • tailwindcss, @tailwindcss/postcss, tw-animate-css

Linting & Formatting

  • ESLint config: eslint.config.mjs
  • Prettier: integrated via lint-staged
  • Lint-staged: lint-staged.config.js
  • Husky for pre-commit hooks

Customization

  • Add new UI components in src/components/ui/
  • Add new routes in src/app/(routes)/
  • Update global styles in src/components/styles/globals.css
  • Configure Axios in src/components/lib/axios.js
  • Add/modify validation schemas in src/components/schema/

Author

Harshit Ostwal
[email protected]


License

This project is licensed under the MIT License.


Contributing

Pull requests, issues, and suggestions are welcome!