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

@tsxr1ck/create-groundwork

v0.1.4

Published

> A minimal, opinionated React boilerplate — beautifully configured so you can skip the setup and start building.

Readme

⚡ Groundwork

A minimal, opinionated React boilerplate — beautifully configured so you can skip the setup and start building.

npm version


Quick Start

Scaffold a new project in seconds:

bun create @tsxr1ck/groundwork my-app
cd my-app
bun install
bunx --bun vite

Or scaffold into the current directory:

mkdir my-app && cd my-app
bun create @tsxr1ck/groundwork .

What's Inside

| Tool | Purpose | | --- | --- | | Vite | Lightning-fast dev server & build tool | | React 19 | UI library with the React Compiler enabled | | TypeScript | Type safety out of the box | | Tailwind CSS v4 | Utility-first styling | | shadcn/ui | Copy-paste accessible components | | React Router | Client-side routing | | Lucide React | Beautiful icons |

Design System

This boilerplate ships with a Material Design 3 + Apple HIG hybrid aesthetic:

  • M3 Surface Roles — Off-white backgrounds (oklch(0.985 0 0)) with pure white cards for proper elevation contrast
  • Apple Squircle Radius--radius: 1rem applied globally for soft, continuous curves
  • Glassmorphism — Reusable frosted glass utility pattern (bg-background/60 backdrop-blur-2xl border border-border/50)
  • Dark Mode — Full .dark class toggling with persistence to localStorage
  • Responsive Pressactive:scale-[0.98] on buttons for iOS-scale physical feedback
  • Vibrancy — Translucent surfaces with backdrop-blur and subtle shadow-[inset_0_1px_1px_rgba(255,255,255,0.15)] inner glow on primary actions

Toggle dark mode via the Sun/Moon icon in the top-right corner.


Project Structure

├── bin/cli.js              # CLI scaffolding script
├── src/
│   ├── components/
│   │   ├── ui/             # shadcn/ui components (Button, etc.)
│   │   ├── theme-provider.tsx  # Dark mode context & persistence
│   │   └── theme-toggle.tsx    # Light/dark toggle button
│   ├── lib/                # Utilities (cn helper)
│   ├── pages/              # Route-level page components
│   │   ├── Home.tsx
│   │   └── Docs.tsx
│   ├── App.tsx             # Router setup + ThemeProvider
│   ├── main.tsx            # Entry point
│   └── index.css           # Tailwind v4 config & M3/HIG theme tokens
├── index.html
├── vite.config.ts
└── package.json

Commands

| Command | Description | | --- | --- | | bunx --bun vite | Start the dev server | | bun run build | Build for production | | bun run preview | Preview the production build | | bun run lint | Run ESLint |


Adding Components

This project ships with shadcn/ui. Add any component with one command:

bunx --bun shadcn@latest add button
bunx --bun shadcn@latest add dialog
bunx --bun shadcn@latest add card

Components are added to src/components/ui/ — they're yours to customize.


Alternative Install Methods

# Using bunx directly
bunx @tsxr1ck/create-groundwork my-app

# Install the CLI globally
bun install -g @tsxr1ck/create-groundwork
create-groundwork my-app

License

MIT