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

@kent-caparas/create-next-kit

v1.0.2

Published

Interactive Next.js starter kit generator. Pick your dependencies and frontend architecture; get a clean, boilerplate-free project.

Readme

create-next-kit

An interactive Next.js starter-kit generator. Answer a few questions about your dependencies and frontend architecture, and it scaffolds a clean App Router project — no create-next-app boilerplate to delete afterwards.

Quick start

You don't install it — run it with your package manager's runner. It scaffolds a new folder in the current directory, so run it from where you want the project to live:

# npm
npx @kent-caparas/create-next-kit my-app
npm create @kent-caparas/next-kit@latest my-app

# bun
bunx @kent-caparas/create-next-kit my-app
bun create @kent-caparas/next-kit my-app

# pnpm / yarn
pnpm create @kent-caparas/next-kit my-app
yarn create @kent-caparas/next-kit my-app

Then start the generated app:

cd my-app
npm run dev   # or bun / pnpm / yarn

With no flags it walks you through the questions below. It creates ./my-app — it does not scaffold into the folder you're already in (if that folder exists and is non-empty, it refuses rather than overwrite).

What it asks

  1. Project name
  2. Language — TypeScript or JavaScript
  3. Package manager — npm / pnpm / yarn / bun (only installed ones are offered)
  4. Styling — Tailwind CSS (v4) / CSS Modules / Vanilla CSS / styled-components
  5. Component library — shadcn/ui (when Tailwind is chosen)
  6. Frontend architecture — Feature-Based / Feature-Sliced Design / Atomic Design / Default
  7. State management — none / Zustand / Redux Toolkit / Jotai
  8. Data fetching — none / TanStack Query / SWR
  9. Linting & formatting — ESLint + Prettier / Biome / none
  10. Extras — Vitest + Testing Library, react-hook-form + zod, Motion, Husky + lint-staged, typed env

Then it generates the files, wires up providers, installs the matching dependencies at their latest versions, and (optionally) initializes git.

What you get

  • App Router routing in a thin root-level app/ directory.
  • All source under src/, organized by the architecture you picked, each layer documented with its own README.md and example files.
  • Providers (Redux/Jotai, TanStack Query/SWR, styled-components registry) already wired into the root layout — only when you select them.
  • Tailwind v4 (+ shadcn/ui theme tokens) configured the modern, CSS-first way.
  • A landing page that shows the exact stack you chose.

Architectures

| Choice | src/ layout | | ------ | ------------- | | Feature-Based | features/* modules + shared components, hooks, lib | | Feature-Sliced Design | shared → entities → features → widgets → views, plus an app layer | | Atomic Design | components/{atoms,molecules,organisms,templates} | | Default | flat components, hooks, lib, types |

Flags (non-interactive)

npx @kent-caparas/create-next-kit my-app --yes              # accept all defaults
npx @kent-caparas/create-next-kit my-app --yes --no-install # scaffold without installing
npx @kent-caparas/create-next-kit my-app --yes --pm bun     # pick a package manager
npx @kent-caparas/create-next-kit my-app --yes --no-git     # skip git init

How it's built

| File | Responsibility | | ---- | -------------- | | bin/cli.js | executable entry point | | src/index.js | orchestration: prompt → scaffold → git → install | | src/prompts.js | the interactive questionnaire (@clack/prompts) | | src/dependencies.js | answers → package lists, scripts, install commands | | src/architectures.js | path/alias resolution + folder-structure generation | | src/templates.js | content for every generated file | | src/scaffold.js | writes all files and the project README | | src/utils.js | filesystem + command helpers |

Local development

Working on the generator itself (not just using it):

git clone https://github.com/kent-caparas/next-js-starter-kit.git
cd next-js-starter-kit
npm install

# run it straight from source
npm start -- my-app          # same as: node bin/cli.js my-app
node bin/cli.js my-app --yes # non-interactive

# make `create-next-kit` available globally while you iterate
npm link
create-next-kit my-app

Requirements

Node.js 18.18+ and at least one package manager on your PATH.