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-bodhi-js

v0.8.0

Published

Scaffold Bodhi-powered applications with React, TypeScript, Vite, and more

Readme

create-bodhi-js

Scaffold Bodhi-powered applications with React, TypeScript, Vite, Tailwind CSS, shadcn/ui, and comprehensive tooling.

Usage

# Interactive mode
npm create bodhi-js@latest

# With project name
npm create bodhi-js@latest my-app

# With options (note the -- separator before flags)
npm create bodhi-js@latest my-app -- --github-pages --github-org "myorg" --dev-client-id "app-id"

Features

Core Stack:

Code Quality:

  • 🔍 ESLint 9 + Prettier
  • 📝 EditorConfig
  • 🎯 Strict TypeScript

Testing:

CI/CD (optional):

  • 🔄 GitHub Actions
  • 📦 GitHub Pages deployment
  • 🤖 Dependabot

Options

Usage: create-bodhi-js [project-name] [options]

Arguments:
  project-name              Name of the project

Options:
  -V, --version             output the version number
  -t, --template <name>     Template to use (react, svelte, vue) (default: "react")
  --no-install              Skip dependency installation
  --no-git                  Skip git initialization
  --github-pages            Enable GitHub Pages deployment setup
  --no-github-pages         Disable GitHub Pages deployment setup
  --github-org <org>        GitHub repository owner (user/org)
  --dev-client-id <id>      Development client ID (for .env.local and CI)
  --prod-client-id <id>     Production client ID (for GitHub Pages deploy)
  --ci                      Run in CI mode (disable animations)
  -h, --help                display help for command

Templates

Available Templates

  • react - React + TypeScript + Vite + Tailwind + shadcn/ui + bodhi-js-react (default)

Custom Templates

Use any Git repository as a template:

npm create bodhi-js@latest my-app -- --template gh:username/my-template

Supported Git providers (via giget):

  • GitHub: gh:user/repo
  • GitLab: gitlab:user/repo
  • BitBucket: bitbucket:user/repo

What's Included?

When you scaffold a project with create-bodhi-js, you get:

my-app/
├── .github/              # GitHub templates and workflows
│   ├── workflows/        # CI/CD pipelines
│   ├── ISSUE_TEMPLATE/   # Issue templates
│   └── ...
├── e2e/                  # Playwright E2E tests
├── public/               # Static assets
├── src/
│   ├── components/       # React components
│   │   └── ui/           # shadcn/ui components
│   ├── hooks/            # Custom React hooks
│   ├── lib/              # Utility functions
│   ├── test/             # Test setup
│   ├── App.tsx           # Main app component
│   ├── main.tsx          # Entry point
│   ├── env.ts            # Environment variable validation
│   └── index.css         # Global styles
├── .editorconfig         # Editor configuration
├── .prettierrc           # Prettier configuration
├── components.json       # shadcn/ui configuration
├── eslint.config.js      # ESLint configuration
├── playwright.config.ts  # Playwright configuration
├── tsconfig.json         # TypeScript configuration
├── vite.config.ts        # Vite configuration
└── package.json          # Dependencies and scripts

Post-Installation

After scaffolding your project:

  1. Configure environment variables:

    cp .env.example .env
    # Edit .env with your Bodhi OAuth credentials
  2. Start development server:

    npm run dev
  3. Run tests:

    npm test           # Unit tests
    npm run test:e2e   # E2E tests
  4. Build for production:

    npm run build

License

MIT License - see LICENSE for details.

Related