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

caseinn-bantuin

v1.0.0

Published

Scaffolding project Next.js pake racikan Caseinn Boilerplate

Readme

caseinn-bantuin

Scaffolding project Next.js pake racikan Caseinn Boilerplate.

Usage

npx caseinn-bantuin

Atau langsung specify nama project:

npx caseinn-bantuin my-app

CLI Options

npx caseinn-bantuin [project-name] [options]

Options

| Flag | Description | Default | |------|-------------|---------| | -y, --yes | Langsung gas (skip prompt & pakai default) | Interactive | | -d, --database <type> | Database provider | Interactive | | -p, --providers <list> | Auth providers (pisahkan pakai koma) | Interactive | | --dry-run | Cek dulu apa yang bakal dibuat tanpa bikin file | - | | -h, --help | Tampilkan bantuan | - |

Database Options

| Value | Description | |-------|-------------| | postgres | PostgreSQL | | postgresql | PostgreSQL | | mongo | MongoDB | | mongodb | MongoDB |

Provider Options

| Value | Description | |-------|-------------| | google | Google OAuth | | github | Github OAuth | | credential | Email/password authentication |

Examples

Interactive Mode

npx caseinn-bantuin
? Mau dikasih nama project-nya?: my-app
? Pilih database-nya dong:: PostgreSQL
? Pilih metode login (Auth providers): Google, Github
? Mau dibuatin halaman Login & Register juga?

Dengan Flags

# Specify database
npx caseinn-bantuin my-app --database postgres

# Specify providers
npx caseinn-bantuin my-app --providers google,github

# Combine flags
npx caseinn-bantuin my-app \
  --database postgres \
  --providers google,github

Preview Mode

npx caseinn-bantuin my-app --dry-run

Output:

👨‍🍳 Caseinn siap bantuin ngeracik project kamu...

🔍 Intip Dulu (Dry Run Preview)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   📁 Project: my-app
   📂 Lokasi: /path/to/my-app
📦 Dari templates:
   ✅ Base
   ✅ Login Page
⚙️ Konfigurasi:
   Database: postgresql
   Providers: google, github
📦 Library yang bakal dipasang:
   - next@^16.1.6
   - react@^19.2.3
   - react-dom@^19.2.3
   - @prisma/client@^6.19.2
   - zod@^4.3.6
   - tailwindcss@^4
   - lucide-react@^0.511.0
   - better-auth@^1.4.18
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ Oke? Hapus --dry-run buat eksekusi beneran.

Pakai Defaults

npx caseinn-bantuin my-app --yes

Uses:

  • Database: PostgreSQL
  • Providers: Google, Github
  • Include login page: Yes

Override Defaults

# Override database only
npx caseinn-bantuin my-app --yes --database mongodb

# Override providers only
npx caseinn-bantuin my-app --yes --providers google,credential

# Override both
npx caseinn-bantuin my-app --yes --database mongodb --providers google,credential

Features

  • Next.js 16 with App Router
  • Prisma ORM with PostgreSQL or MongoDB
  • Better Auth with customizable providers (Google, Github, Credential)
  • Tailwind CSS v4
  • TypeScript
  • ESLint
  • Zod validation

After Scaffold

cd my-app
npm run dev

Jangan lupa:

  • Update .env dengan nilai sebenarnya
  • Setup OAuth credentials
  • Jalankan npx prisma db push untuk sync schema

Smart Suggestions

Kalo ada typo, CLI bakal suggest:

npx caseinn-bantuin my-app --databse mongodb
❌ Database "databse" gak kenal.
Maksud kamu: mongodb ?

Folder Overwrite

Kalo folder sudah ada:

npx caseinn-bantuin my-app
📁 "my-app" sudah ada. Timpa aja? (y/N)