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-koko-react-app

v0.0.9

Published

A simple CLI to create React apps from custom template

Readme

Create Koko React App

A simple CLI tool for quickly creating new projects from custom React templates.

Language Switch

English: README.md 中文: README-zh.md


Features

  • 🚀 Quickly create projects based on React + TypeScript + Vite
  • 📦 Built-in Tailwind CSS 4.x
  • 🔧 Automatically initialize Git repository
  • 📝 Provides interactive command-line interface
  • 🛠️ Supports specifying project name via command-line arguments
  • 🎯 Includes complete development toolchain (ESLint, Prettier, Husky, etc.)

Installation

You can use npx directly without installation:

npx create-koko-react-app

Or install globally:

npm install -g create-koko-react-app

Usage

Interactive Mode

Run the command without arguments, and the CLI will prompt you to enter a project name:

npx create-koko-react-app

Directly Specify Project Name

You can also specify the project name directly on the command line:

npx create-koko-react-app my-react-app

Project Structure

The created project will include the following features:

  • React 19 - Latest version of React
  • TypeScript 5.9 - Type-safe development experience
  • Vite 7 - Fast development server and build tool
  • Tailwind CSS 4.x - Utility-first CSS framework
  • ESLint & Prettier - Code quality and formatting tools
  • Husky & Commitlint - Git hooks and commit specifications

Project Configuration Files

package.json Scripts

The created project includes the following npm scripts:

{
  "scripts": {
    "dev": "vite",                    // Start development server
    "build": "tsc -b && vite build",  // Build for production
    "lint": "eslint .",              // Run ESLint
    "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,css,scss,json}\"",  // Format code
    "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,css,scss,json}\"", // Check code format
    "preview": "vite preview",       // Preview production build
    "lint:staged": "lint-staged",    // Check staged files
    "spell:check": "cspell lint --dot --gitignore --color --cache --show-suggestions \"(packages|apps)/**/*.@(html|js|cjs|mjs|ts|tsx|css|scss|md)\"", // Spell check
    "commit": "git-cz",              // Interactive commit
    "prepare": "husky"              // Initialize Husky hooks
  }
}

Tech Stack

  • Node.js - Runtime environment
  • TypeScript - Development language
  • DeGit - Git history-free repository cloning tool
  • Readline - Interactive command-line interface

License

MIT

Author

xjxujing