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-nuxt-base

v2.5.1

Published

Starter to generate a configured environment with VueJS, Nuxt, Tailwind, Linting, Unit Tests, Playwright etc.

Downloads

835

Readme

create-nuxt-base

A CLI tool to scaffold a production-ready Nuxt 4 application with TypeScript, Tailwind CSS v4, NuxtUI v4, and modern tooling.

Quick Start

npx create-nuxt-base my-awesome-project
cd my-awesome-project
pnpm run dev

The development server starts at http://localhost:3001

What's Included

Core Framework

| Technology | Version | Description | | ------------ | ------- | ------------------------------------- | | Nuxt | 4.x | Vue 3 meta-framework with SSR support | | TypeScript | 5.9.x | Strict type checking enabled | | Tailwind CSS | 4.x | Utility-first CSS with Vite plugin | | NuxtUI | 4.x | Component library with dark mode |

Authentication (Better Auth)

Complete authentication system using Better Auth:

| Feature | Description | | ------------------ | ----------------------------------------------------- | | Email/Password | Standard auth with client-side SHA256 hashing | | Two-Factor (2FA) | TOTP-based 2FA with backup codes | | Passkey/WebAuthn | Passwordless authentication (Touch ID, Face ID, etc.) | | Password Reset | Email-based password reset flow | | Session Management | SSR-compatible cookie-based sessions |

Pre-built auth pages: login, register, forgot-password, reset-password, 2fa

📖 See AUTH.md for detailed documentation

State & Data

| Package | Purpose | | --------------------- | --------------------------- | | Pinia | State management | | VueUse | Vue composition utilities | | @hey-api/client-fetch | Type-safe API client | | Valibot | Schema validation for forms |

SEO & Analytics

  • @nuxtjs/seo - Sitemap, robots.txt, OG images
  • @nuxtjs/plausible - Privacy-friendly analytics
  • @nuxt/image - Image optimization with IPX

Developer Experience

| Tool | Purpose | | ------------------ | ---------------------------------- | | OxLint | Fast linting | | OxFmt | Code formatting | | Playwright | E2E testing | | @lenne.tech/bug.lt | Bug reporting to Linear (dev only) | | dayjs-nuxt | Date/time handling |

File Upload

  • TUS resumable upload support (tus-js-client)
  • Pre-built TusFileUpload.vue component

Docker Support

  • Dockerfile.dev for containerized development
  • Hot reload enabled

Project Structure

my-project/
├── app/
│   ├── assets/css/       # Tailwind CSS
│   ├── components/       # Vue components (auto-imported)
│   │   ├── Modal/        # Modal components
│   │   ├── Transition/   # Transition components
│   │   └── Upload/       # File upload components
│   ├── composables/      # Composables (auto-imported)
│   ├── interfaces/       # TypeScript interfaces
│   ├── layouts/          # Nuxt layouts
│   ├── lib/              # Auth client configuration
│   ├── middleware/       # Route middleware (auth, admin, guest)
│   ├── pages/            # File-based routing
│   │   ├── auth/         # Authentication pages
│   │   └── app/          # Protected app pages
│   ├── utils/            # Utility functions
│   └── app.config.ts     # NuxtUI configuration
├── docs/                 # Dev-only documentation layer
├── tests/                # Playwright E2E tests
├── nuxt.config.ts        # Nuxt configuration
├── openapi-ts.config.ts  # API type generation config
└── playwright.config.ts  # E2E test configuration

Available Scripts

| Script | Description | | ------------------------- | -------------------------------------- | | pnpm run dev | Start development server | | pnpm run build | Build for production | | pnpm run preview | Preview production build | | pnpm run generate-types | Generate TypeScript types from OpenAPI | | pnpm run test | Run Playwright E2E tests | | pnpm run lint | Run OxLint | | pnpm run format | Run OxFmt | | pnpm run check | Run lint + format check | | pnpm run fix | Auto-fix lint + format issues |

Environment Variables

Create a .env file based on .env.example:

# Required
SITE_URL=http://localhost:3001
API_URL=http://localhost:3000
APP_ENV=development
NODE_ENV=development

# Optional
WEB_PUSH_KEY=                # Web push notifications
LINEAR_API_KEY=              # Bug reporting
LINEAR_TEAM_NAME=            # Bug reporting
LINEAR_PROJECT_NAME=         # Bug reporting
STORAGE_PREFIX=base-dev      # Local storage prefix

Requirements

  • Node.js >= 22
  • pnpm >= 9

License

MIT