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

phos

v1.3.2

Published

Full-stack interactive project generator CLI - Phos

Readme

Full-stack interactive project generator CLI

npm version Downloads License: MIT Node.js Version PRs Welcome

Version 1.3.2 - Production Release 🎉

View on npmjs.com


About

Phos is a powerful CLI tool that scaffolds modern full-stack web applications with configurable backends and frontends. Get started in seconds with interactive prompts and pre-configured templates.

Features

  • ✨ Interactive CLI with beautiful prompts
  • 🚀 Multiple backend frameworks (Elysia, FastAPI, NestJS)
  • 🎨 Multiple frontend frameworks (Astro, Svelte, Next.js, Vue)
  • 📦 Monorepo support with workspace configuration
  • 🛠️ Configurable tooling (TypeScript, ESLint, Prettier)
  • 🎨 CSS framework options (Tailwind, SCSS, CSS Modules)
  • 🧩 UI component library support (Ant Design, shadcn/ui, Radix UI, Vuetify)
  • 🧪 Testing framework options (Vitest, Playwright)
  • 🔤 Multiple package manager support (npm, yarn, pnpm, bun)
  • 📝 Automatic README generation
  • 🌳 Git initialization
  • 🎯 Single project mode for standalone applications
  • 📚 Comprehensive documentation auto-generation

Tech Stack

Core

| Technology | Description | Version | | ------------------------------------------------------------------------------------------------------------------- | -------------------- | ------- | | Node.js | Runtime Environment | 20+ | | TypeScript | Programming Language | 5.7+ | | Commander.js | CLI Framework | 14.0+ | | Clack | Interactive Prompts | 1.0+ | | fs-extra | File Operations | 11.3+ | | Handlebars | Template Engine | 4.7+ | | Picocolors | Terminal Colors | 1.1+ |

Supported Frameworks

Backend

| Framework | Runtime | Description | | ---------------------------------------- | ------- | ---------------------------------- | | Elysia | Bun | Fast and elegant Bun web framework | | FastAPI | Python | Modern Python web framework | | NestJS | Node.js | Progressive Node.js framework with TypeScript |

Frontend

| Framework | Description | | ------------------------------------ | -------------------------------------- | | Astro | Modern static site generator | | SvelteKit | Full-stack Svelte framework | | Next.js | React framework with server components | | Vue | Progressive JavaScript framework |

Quick Start

Choose Your Package Manager

| npm | yarn | bun | | ----------------- | ---------------------- | ------------------ | | npx phos create | yarn dlx phos create | bunx phos create |

Follow the interactive prompts to configure your project, and Phos will generate a production-ready scaffold in seconds.

Installation

From NPM

npx phos create

Alternative Package Managers

bunx phos create
yarn dlx phos create

Local Development

git clone https://github.com/DotJumpDot/Phos.git
cd phos
bun install
bun link
phos create

Usage

phos create

Phos will guide you through a series of questions to configure your project:

  1. Project Name - Name of your new project
  2. Project Type - Monorepo or Single repo
  3. Backend Framework - Elysia or FastAPI (Monorepo mode)
  4. Backend Package Manager - npm, yarn, pnpm, bun, venv, or pip
  5. Backend: Use TypeScript? - Enable TypeScript for backend
  6. Backend: Add ESLint? - Add ESLint configuration
  7. Backend: Add Prettier? - Add Prettier configuration
  8. Frontend Framework - Astro, Svelte, Next.js, or Vue
  9. Frontend Package Manager - npm, yarn, pnpm, or bun
  10. Frontend: Use TypeScript? - Enable TypeScript for frontend
  11. Frontend: Add ESLint? - Add ESLint configuration
  12. Frontend: Add Prettier? - Add Prettier configuration
  13. Select CSS Framework - No, Tailwind CSS, SCSS, or CSS Modules
  14. Add Testing? - No, Vitest, Playwright, or both
  15. Initialize Git? - Initialize a Git repository
  16. Install Dependencies? - Auto-install dependencies after generation

Project Types

Monorepo Mode

Generates a full-stack monorepo with separate backend and frontend projects:

my-project/
├── MyProject_Backend/    # Backend application
├── MyProject_Frontend/   # Frontend application
├── Docs/                 # Documentation folder
│   ├── Feature/          # Feature documentation
│   └── DatabaseSetup/    # Database setup scripts
├── AGENTS.md             # Agent guidelines
├── LICENSE               # License file
├── env.example           # Environment variables template
└── README.md             # Project README

Single Project Mode

Generates a standalone backend or frontend project:

my-project/
├── src/                  # Source code
├── public/               # Static assets (frontend)
├── package.json          # Dependencies
├── tsconfig.json         # TypeScript config
└── README.md             # Project documentation

Development

# Install dependencies
bun install

# Run in development mode
bun run dev create

# Build project
bun run build

# Run the built CLI
node dist/cli.js create

Examples

Create a Monorepo with Elysia and Next.js

npx phos create
# Project name: my-awesome-app
# Project type: Monorepo
# Backend Framework: Elysia
# Backend package manager: bun
# Backend: Use TypeScript? Yes
# Backend: Add ESLint? Yes
# Backend: Add Prettier? Yes
# Frontend Framework: NextJS
# Frontend package manager: bun
# Frontend: Use TypeScript? Yes
# Frontend: Add ESLint? Yes
# Frontend: Add Prettier? Yes
# CSS Framework: Tailwind CSS
# Testing: Vitest + Playwright
# Initialize Git? Yes
# Install dependencies? No

Create a Single Astro Project

bunx phos create
# Project name: my-astro-site
# Project type: Single repo
# Framework: Astro
# Package manager: bun
# Use TypeScript? Yes
# Add ESLint? Yes
# Add Prettier? Yes
# CSS Framework: Tailwind CSS
# Testing: Vitest
# Initialize Git? Yes
# Install dependencies? No

Generated Projects Include

Backend (Elysia/FastAPI)

  • Pre-configured framework setup
  • Example API endpoints
  • Service layer architecture
  • Database connection setup
  • TypeScript/Python type definitions
  • ESLint/Pylint configuration
  • Prettier/Black configuration

Frontend (Astro/Svelte/Next.js)

  • Pre-configured framework setup
  • Example components and pages
  • Responsive layout
  • CSS framework integration
  • TypeScript configuration
  • ESLint configuration
  • Prettier configuration
  • Testing setup (Vitest/Playwright)

Documentation

  • Comprehensive README.md
  • AGENTS.md with project guidelines
  • Database schema documentation
  • Feature documentation templates
  • Environment variable templates

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Versioning

Phos follows semantic versioning.

  • 1.3.2 - Patch release (UI library implementation)
  • 1.3.0 - Minor release (NestJS backend support)
  • 1.2.1 - Patch release (TypeScript type fix)
  • 1.2.0 - Minor release (backend API architecture)
  • 1.1.0 - Minor release (new features, non-breaking changes)
  • 1.0.3 - Patch release (template path fix)
  • 1.0.2 - Patch release (template missing fix)
  • 1.0.1 - Patch release (bug fixes)
  • 1.0.0 - Production release with full feature support
  • 1.x.0 - Minor releases (new features, non-breaking changes)
  • x.0.0 - Major releases (breaking changes)

See CHANGELOG.md for detailed version history.

Acknowledgments

License

MIT


Made with ❤️ by the Phos Team