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

orange-project-init

v0.1.0

Published

CLI to scaffold projects with Vue/Astro/React frontend and Koa/Go backend templates

Readme

orange-project-init

A CLI to scaffold projects with Vue/Astro/React frontend and Koa/Go backend templates.

Features

  • Multiple frontend frameworks: Vue 3, Astro, React (TypeScript by default)
  • Multiple backend frameworks: Koa (Node + TS), Go
  • Flexible project types: Full-stack, Frontend only, Backend only
  • Customizable add-ons: ESLint, Prettier, cspell
  • Package manager support: npm, pnpm, bun, yarn
  • Git initialization: Optional automatic git init
  • Blank templates: Clean starting point without boilerplate code

Usage

npm create orange-project-init@latest
# or
pnpm create orange-project-init
# or
bun create orange-project-init
# or
yarn create orange-project-init

Or with a project name directly:

npx orange-project-init my-app

Interactive Prompts

The CLI guides you through the following options:

  1. Project name: Your project directory name
  2. Project type:
    • Full-stack (separated frontend & backend)
    • Frontend only
    • Backend only
  3. Frontend framework (if applicable): Vue, Astro, React
  4. Backend framework (if applicable): Koa (Node + TS), Go
  5. Add-ons (multi-select): ESLint, Prettier, cspell
  6. Git initialization: Yes/No
  7. Package manager: npm, pnpm, bun, yarn

Project Structure

Frontend Only

my-app/
├── src/
├── package.json
├── vite.config.ts
└── tsconfig.json

Backend Only

my-app/
├── src/
├── package.json
└── tsconfig.json

Full-stack

my-app/
├── frontend/     # Selected frontend framework
├── server/       # Selected backend framework
├── .gitignore
└── (add-on configs)

Templates

Templates are hosted as separate GitHub repositories:

| Template | Repository | Description | |----------|-----------|-------------| | Vue | template-vue | Vue 3 + Vite + TS + Pinia + Vue Router | | React | template-react | React + Vite + TS | | Astro | template-astro | Astro + TS | | Koa | template-koa | Koa + TS backend | | Go | template-go | Go backend |

Templates are developed in the orange-templates monorepo.

Add-ons

ESLint

Generates eslint.config.js with framework-specific rules:

  • Vue: eslint-plugin-vue
  • Astro: eslint-plugin-astro
  • React: @eslint-react/eslint-plugin
  • Backend: typescript-eslint recommended

Prettier

Generates .prettierrc.cjs with opinionated defaults:

  • Print width: 150
  • Tabs: 2 spaces
  • Single quotes
  • Trailing commas: ES5
  • End of line: LF

cspell

Generates cspell.json for spell checking with customizable dictionary.

Development

Prerequisites

  • Node.js >= 18
  • npm / pnpm / bun / yarn

Setup

git clone https://github.com/aDarkMaker/orange-project-init.git
cd orange-project-init
npm install

Build

npm run build

Local Testing

npm link
orange-project-init test-project

Project Structure

orange-project-init/
├── src/
│   ├── index.ts        # CLI entry
│   ├── prompts.ts      # Interactive prompts
│   ├── generate.ts     # Template download & generation
│   ├── configs/        # Config file generators
│   │   ├── prettier.ts
│   │   ├── eslint.ts
│   │   ├── cspell.ts
│   │   └── gitignore.ts
│   └── utils.ts        # Utilities
├── dist/               # Build output
└── package.json

Roadmap

Planned features for future releases:

  • [ ] More frontend frameworks (Svelte, Solid, Qwik)
  • [ ] More backend frameworks (Express, Fastify, NestJS, Gin)
  • [ ] Database templates (PostgreSQL, MongoDB, SQLite)
  • [ ] Docker support
  • [ ] CI/CD templates (GitHub Actions, GitLab CI)
  • [ ] Monorepo support (Turborepo, Nx)
  • [ ] Custom template support (user-defined templates)
  • [ ] Plugin system for extensibility

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

Adding New Templates

  1. Fork the orange-templates repository
  2. Add your template in templates/<name>/
  3. Submit a pull request
  4. Update this README and CLI to register the new template

Template Requirements

  • Must be a blank/starting template (no business logic)
  • Must include package.json with __PROJECT_NAME__ placeholder
  • Must include basic build configuration
  • Should follow existing code style

License

MIT

Author

aDarkMaker