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 🙏

© 2025 – Pkg Stats / Ryan Hefner

nelumbo-rkx-cli

v1.3.0

Published

rkx - React toolKit eXtend: CLI para scaffolding de proyectos React, Vite, Next y más.

Readme

npm version npm downloads license

nelumbo-rkx-cli React toolKit eXtend

rkx (React toolKit eXtend) is a lightweight and extensible CLI for bootstrapping and scaling projects in React, Vite, and Next.js.
It includes generators for modules, components, hooks, enums, and types.


🚀 Installation

Global installation (recommended):

npm install -g nelumbo-rkx-cli
# or with yarn
yarn global add nelumbo-rkx-cli

Verify installation:

rkx --help

📦 Available Commands

Create React projects

rkx create-react-project my-app

Scaffolds a new project based on React + Vite from a base repository, updates dependencies, and renames the package.

Available templates (selected via branch):

  • main: React vanilla project
  • vite-mui: React project with Material-UI
  • next: React - Nextjs project

Main options:

  • --repo <slugOrUrl>: Base repository
  • --pm <pm>: Package manager (npm, yarn, pnpm)
  • -b, --branch <branch>: Branch to use / template (default: main)
  • --force: Overwrite target folder if it exists
  • --install / --no-install: Automatically install dependencies
  • --debug: Verbose mode

Create React libraries

rkx create-react-library my-lib

Scaffolds a React library template based on React + tsup from a base repository, updates dependencies with fixed versions, and configures the package for library distribution.

Main options:

  • --repo <slugOrUrl>: Base repository (default: nelumboconsultores/react-templates)
  • --pm <pm>: Package manager (npm, yarn, pnpm)
  • -b, --branch <branch>: Branch to use (default: library)
  • --force: Overwrite target folder if it exists
  • --install / --no-install: Automatically install dependencies
  • --debug: Verbose mode

Create modules

rkx create-module billing

Generates a module in src/modules/billing from a template.

⚙️ avaliable templates

  • module (default) → Defaut react vanila module.
  • next-module → strutucture for next projects.

Create components

rkx create-component Button
rkx create-component Card -m dashboard

Create hooks

rkx create-hook useAuth
rkx create-hook useGoogleMaps -m maps

Generates a hook in src/core/hooks or inside the specified module, along with its type file.


Create enums and types

rkx create-enum Status
rkx create-type User

Generates enum and type files under src/core/types.


⚙️ Common Options

  • --force → Overwrite if the file already exists.
  • --path <path> → Provide a custom path.
  • --template <name> → Use a different template than the default.
  • --debug → Print debug information.

📝 Quick Examples

# New React+Vite project (vanilla)
rkx create-react-project my-dashboard

# New React+Vite project with Material-UI
rkx create-react-project my-dashboard -b vite-mui

# New React library
rkx create-react-library my-ui-lib

# New users module
rkx create-module users

# New component inside users module
rkx create-component UserCard -m users

# New global hook
rkx create-hook useTheme

# New enum
rkx create-enum Status

# New type
rkx create-type User

📚 Roadmap

  • [x] React+Vite project scaffolding
  • [x] React library scaffolding
  • [x] Module, component, and hook generators
  • [x] Enum and type generators
  • [x] Next.js project scaffolding
  • [ ] Customizable templates
  • [ ] Third-party plugins/extensions

🛠 Contributing

  1. Fork the repo
  2. Create a branch feature/new-feature
  3. Submit a PR 🎉

📄 License

This project is licensed under the MIT license.