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-caspian-store

v0.2.1

Published

One-command scaffolder for @caspian-explorer/script-caspian-store. Enables `npm create caspian-store@latest <project-dir>`.

Readme

create-caspian-store

One-command scaffolder for @caspian-explorer/script-caspian-store — a framework-agnostic React e-commerce storefront + admin panel.

Usage

npm create caspian-store@latest my-shop
cd my-shop
npm install
cp .env.example .env.local  # fill in Firebase config
npm run dev                  # http://localhost:3000

Options

All flags are forwarded to the underlying scaffolder:

  • --package-tag vX.Y.Z — pin the generated project to a specific release (default: latest main)
  • --with-stripe — also scaffold the Stripe Cloud Functions tree into functions-stripe/
  • --with-email — also scaffold the transactional-email Cloud Functions tree into functions-email/ (v8.0.0+ requires firebase functions:secrets:set CASPIAN_EMAIL_<PROVIDER>_API_KEY before first deploy)
  • --with-functionsdeprecated alias for --with-stripe, kept for back-compat
  • --no-apphosting — suppress apphosting.yaml in the output. Set this when deploying to Vercel so the unused file doesn't sit in your repo.
  • --force — scaffold into a non-empty directory (.git, .gitignore, README.md, LICENSE are preserved automatically)

What gets scaffolded

  • Next.js 15 App Router project with every storefront, auth, content, and admin route pre-mounted
  • Next.js adapter code (Link, Image, useNavigation) for the package
  • Real firestore.rules, firestore.indexes.json, storage.rules deployable via firebase deploy --only firestore:rules,firestore:indexes,storage
  • .env.example with Firebase web config + Stripe publishable key placeholders, plus a runtime preflight in providers.tsx that throws a clear error if any NEXT_PUBLIC_FIREBASE_* is missing on first run
  • package.json scripts for dev, typecheck, firebase:seed, grant-admin, deploy:admin, deploy:email, deploy:stripe
  • Self-update route that POSTs to the library's hardened handler (v8.0.0+ runs npm install with --ignore-scripts and is gated by CASPIAN_ALLOW_SELF_UPDATE=true)

How it works

This package is a thin launcher. It clones the main script-caspian-store repo into a temporary directory, runs the scaffolder inside it against your target directory, then removes the clone.

Requires git on PATH and Node ≥ 18.

Links

  • Main repo: https://github.com/Caspian-Explorer/script-caspian-store
  • INSTALL guide: https://github.com/Caspian-Explorer/script-caspian-store/blob/main/INSTALL.md
  • CHANGELOG: https://github.com/Caspian-Explorer/script-caspian-store/blob/main/CHANGELOG.md

License

MIT © Caspian-Explorer