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

@start-develop/csp

v1.3.0

Published

CLI tool to scaffold a new Fastify TypeScript backend project from a GitHub starter template

Readme

🚀 csp-cli

Scaffold a production-ready Fastify TypeScript API in seconds.

npm version CI Release License: MIT Node.js


✨ What is csp-cli?

csp-cli is an interactive command-line tool that bootstraps a new backend project from a curated GitHub starter template. One command is all it takes — pick a name, confirm dependency installation, and you're up and running.

┌  csp-cli  Project Scaffolder
│
◆  Template: Fastify TypeScript API  fastify · drizzle-orm · bcrypt · zod · dotenv · pino
│
◇  What is your project name?
│  my-fastify-api
│
◇  Install dependencies now?
│  Yes
│
◇  Template pulled successfully
◇  Project configured
◇  Dependencies installed
│
└  Your project is ready!

   Next steps:
     cd my-fastify-api
     pnpm dev

📦 Installation

Install globally and use it from anywhere:

# npm
npm install -g @start-develop/csp

# pnpm
pnpm add -g @start-develop/csp

# or run without installing
npx @start-develop/csp
pnpm dlx @start-develop/csp

🛠️ Usage

csp

The CLI will guide you through the following steps:

  1. Choose a template — currently ships with a Fastify TypeScript API starter. More templates coming soon.
  2. Name your project — the name is validated and used as the folder name and package.json name.
  3. Install dependencies — optionally let the CLI run the install step for you using your detected package manager (bun → pnpm → yarn → npm).

Once complete, your project is ready to run.


🤝 Contributing

Contributions are welcome! Whether it's a bug fix, a new template, or an improvement to the CLI experience — open a PR.

1. Clone the repository

git clone https://github.com/amoorihesham/csp-cli.git
cd csp-cli

2. Install dependencies

pnpm install

3. Run in development mode

pnpm dev

This runs the CLI directly from TypeScript source via tsx — no build step needed during development.

4. Build

pnpm build

Compiles TypeScript to dist/ using tsc.

5. Code quality

pnpm typecheck     # TypeScript type checking
pnpm lint          # ESLint
pnpm format        # Prettier (write)
pnpm format:check  # Prettier (check only)

6. Commit conventions

This project uses Conventional Commits. Your commit message determines the next version automatically:

| Prefix | Release | |---|---| | fix: | Patch 1.0.x | | feat: | Minor 1.x.0 | | BREAKING CHANGE: | Major x.0.0 | | chore:, docs:, refactor: | No release |


🗂️ Project Structure

src/
├── index.ts                  Entry point
├── main.ts                   Orchestration — wires prompts → scaffold
├── prompts.ts                All interactive UI (@clack/prompts)
├── scaffold.ts               Thin coordinator: clone → configure → install
├── validator.ts              Project name validation
├── config.ts                 Template definitions
├── types.ts                  Shared TypeScript interfaces
│
├── providers/
│   ├── template-provider.ts  Interface — swap template sources freely
│   └── degit-provider.ts     GitHub template fetcher (via degit)
│
├── installer/
│   ├── installer.ts          Interface — any package manager
│   └── detect-installer.ts   Auto-detects bun / pnpm / yarn / npm
│
└── steps/
    ├── clone-template.ts     Pull the template repo
    ├── configure-project.ts  Patch package.json with the project name
    └── install-deps.ts       Run the install command

Adding a new template

Open src/config.ts and add an entry to the TEMPLATES array:

{
  id: "your-template-id",
  label: "Your Template Label",
  repo: "github-username/repo-name",
  placeholder: "my-new-project",
  deps: ["package-a", "package-b"],
}

That's it — the CLI picks it up automatically.


🔄 CI / CD

| Workflow | Trigger | Steps | |---|---|---| | CI | Every push / PR | Typecheck → Lint → Format check → Build | | Release | Push to main | Build → semantic-release (version bump, changelog, npm publish, GitHub release) |

Releases are fully automated via semantic-release. No manual npm publish needed.


📄 License

MIT © Amr Hesham