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

@vin-1337/awesome-react

v1.0.1

Published

A CLI to scaffold awesome React projects

Readme

Awesome React CLI

A lightweight, modern CLI tool to scaffold React projects quickly and efficiently. Built with simplicity in mind, @kuldep7/awesome-react helps developers kickstart React applications with pre-configured templates. Hosted on GitHub Packages for seamless integration with the GitHub ecosystem.

Features

  • Quick Setup: Generate a React project with a single command.
  • Customizable Templates: Includes a template-main starter (expandable in future releases).
  • Modern Tooling: Leverages ES Modules and dependencies like prompts for an interactive experience.
  • Cross-Platform: Works on macOS, Linux, and Windows via cross-spawn.

Prerequisites

  • Node.js: Version 20 or higher.

  • npm: Version 8 or higher (bundled with Node.js).

Installation

@kuldep7/awesome-react is published to GitHub Packages. Follow these steps to install it globally:

Step-by-Step

  1. Configure npm for GitHub Packages Set the registry for the @kuldep7 npm config set @kuldep7:registry https://npm.pkg.github.com/
  • Note: If you encounter a 401 Unauthorized error, add a GitHub Personal Access Token (PAT). See Authentication below.
  1. Install the CLI
    Install globally to use from anywhere:

    npm install -g @kuldep7/awesome-react

  2. Verify Installation
    Check it’s installed:

    create-app --version

    Expected output: 1.0.0 (or the latest version).

Quick Install (One-Liner)

Run this to configure and install in one go:

npm config set @kuldep7:registry https://npm.pkg.github.com/ && npm install -g @kuldep7/awesome-react

  • If a 401 error occurs, configure a PAT as described in Authentication.

Usage

Once installed, use the create-app command to scaffold a new React project:

create-app

  • Follow the prompts to customize your project (e.g., project name, template selection).
  • The CLI will generate a directory with the React project structure based on template-main.

Example

create-app \

  • Prompt: Project name? my-react-app
  • Creates ./my-react-app/ with React files
  • cd my-react-app && npm install && npm start

Authentication

GitHub Packages may require authentication for scoped packages, even from a public repository.

  • If you see a 401 Unauthorized error during installation, you’ll need a GitHub PAT with the read:packages scope.

Creating a GitHub PAT

  1. Log in to GitHub
    Visit github.com and sign in as kuldep7 (or your GitHub account).
  2. Access Token Settings
    • Click your profile picture (top-right) > Settings.
    • Sidebar: Developer settings > Personal access tokens > Tokens (classic).
  3. Generate Token
    • Click Generate new token (classic).
    • Name: e.g., npm-github-packages.
    • Expiration: Choose 30 days (or adjust as needed).
    • Scopes: Select read:packages.
    • Click Generate token and copy it (e.g., ghp_abc123...).

Adding the PAT to npm

Update your ~/.npmrc:

npm config set //npm.pkg.github.com/:_authToken=ghp_abc123...

  • Replace ghp_abc123... with your actual token.

  • Verify:

    cat ~/.npmrc

    Expected:

    • @kuldep7:registry=https://npm.pkg.github.com/
    • //npm.pkg.github.com/:_authToken=ghp_abc123...

Retry installation:

npm install -g @kuldep7/awesome-react

Development

Setup

Clone the repo and install dependencies:

git clone https://github.com/kuldep7/awesome-react.git && cd awesome-react && npm install

Build

Compile src/ into dist/:

npm run build

  • Uses unbuild to generate dist/index.mjs.

Test Locally

Pack and install locally:

npm run pack npm install -g ./kuldep7-awesome-react-0.0.4.tgz create-app

Publish (Manual)

For maintainers:

npm publish --registry=https://npm.pkg.github.com/

  • Requires a PAT with write:packages scope in ~/.npmrc.

Roadmap

Future enhancements to make @kuldep7/awesome-react a go-to tool for React developers:

  • React-Query Integration: Add a template with react-query for seamless data fetching and caching.
  • Zustand Support: Include a lightweight state management option with zustand.
  • Essential React Tools:
    • React Router: Pre-configured routing setup.
    • Tailwind CSS: Optional styling with Tailwind integration.
    • Vite: Switch to Vite for faster builds and development.
  • Template Customization: Allow users to select from multiple templates via prompts.
  • TypeScript Support: Add TypeScript-ready templates.

Have ideas? Suggest them in the Issues tab!

Project Structure

awesome-react/
├── dist/          # Built CLI (generated)
├── src/           # Source code
├── template-main/     # Default project template
├── package.json      # Dependencies and config └── README.md       # This file

Contributing

We welcome contributions! Here’s how:

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

Issues

Report bugs or suggest features in the Issues tab.

References

License

MIT License. See LICENSE for details.