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

rapidkit

v0.12.9

Published

Create RapidKit projects with a single command - The official CLI for RapidKit framework

Readme

rapidkit

npm version npm downloads License: MIT GitHub Stars

⚠️ PRE-RELEASE VERSION - This is a companion tool for RapidKit framework.
The stable production version of RapidKit Python will be released soon on PyPI.

🚀 The easiest way to create FastAPI and NestJS projects with RapidKit templates!

💡 Tip: Use the RapidKit VS Code Extension for a visual interface!

Quick Start

Create a FastAPI Project

npx rapidkit my-api --template fastapi
cd my-api
npx rapidkit init           # Install dependencies
npx rapidkit dev            # Start dev server at http://localhost:8000

Create a NestJS Project

npx rapidkit my-api --template nestjs
cd my-api
npx rapidkit init           # Install dependencies
npx rapidkit dev            # Start dev server at http://localhost:8000

Your API will be available at http://localhost:8000 with Swagger docs at /docs

Two Modes of Operation

1. Direct Project Creation (with --template)

Create a standalone project directly:

npx rapidkit my-api --template fastapi   # Create FastAPI project
npx rapidkit my-api --template nestjs    # Create NestJS project

2. Workspace Mode (without --template)

Create a workspace to organize multiple projects:

npx rapidkit my-workspace                     # Create workspace
cd my-workspace
npx rapidkit my-api --template fastapi        # Create FastAPI project
npx rapidkit admin-api --template nestjs      # Create NestJS project

Note: The same npx rapidkit <name> --template <type> command works everywhere - in any directory or inside a workspace!

Templates

| Template | Framework | Description | |----------|-----------|-------------| | fastapi | FastAPI | Python async web framework with automatic API docs | | nestjs | NestJS | TypeScript Node.js framework with modular architecture |

CLI Options

npx rapidkit [project-name] [options]

Arguments

  • project-name - Name of project/workspace directory to create

Options

  • -t, --template <template> - Template to use: fastapi or nestjs (creates direct project)
  • --skip-git - Skip git initialization
  • --skip-install - Skip installing dependencies (for NestJS)
  • --debug - Enable verbose debug logging
  • --dry-run - Preview what would be created without creating it
  • --no-update-check - Skip checking for newer versions
  • --help - Display help information
  • --version - Show version number

Project Commands

After creating a project, use these commands:

cd my-api
npx rapidkit init      # Install dependencies (auto-activates environment)
npx rapidkit dev       # Start dev server with hot reload (port 8000)
npx rapidkit start     # Start production server
npx rapidkit build     # Build for production
npx rapidkit test      # Run tests
npx rapidkit lint      # Lint code
npx rapidkit format    # Format code
npx rapidkit --help    # Show all commands

Note: npx rapidkit automatically detects when you're inside a RapidKit project and delegates to the local CLI. Works everywhere without any setup!

💡 Tip: Install globally with npm i -g rapidkit to use rapidkit directly without npx.

Alternative: Direct Commands

You can also run commands directly:

./rapidkit dev          # Using the wrapper script
make dev                # Using Makefile (FastAPI)
poetry run dev          # Using Poetry directly (FastAPI)
npm run start:dev       # Using npm directly (NestJS)

Project Structure

FastAPI Project

my-api/
├── .rapidkit/
│   ├── activate         # Activation script
│   ├── cli.py           # Python CLI module
│   └── rapidkit         # Bash wrapper
├── rapidkit             # Main CLI entry point
├── src/
│   ├── main.py          # FastAPI application
│   ├── cli.py           # CLI commands
│   ├── routing/         # API routes
│   └── modules/         # Module system
├── tests/               # Test suite
├── pyproject.toml       # Poetry configuration
├── Makefile             # Make commands
└── README.md

NestJS Project

my-api/
├── .rapidkit/
│   ├── activate         # Activation script
│   └── rapidkit         # Bash CLI wrapper
├── rapidkit             # Main CLI entry point
├── src/
│   ├── main.ts              # Application entry point
│   ├── app.module.ts        # Root module
│   ├── config/              # Configuration
│   └── examples/            # Example module
├── test/                    # Test files
├── package.json             # Dependencies
├── tsconfig.json            # TypeScript config
└── README.md

Requirements

  • Node.js: 18+ (for running npx)
  • For FastAPI: Python 3.11+ with Poetry
  • For NestJS: Node.js 20+ with npm/yarn/pnpm

Development

# Clone the repository
git clone https://github.com/getrapidkit/rapidkit-npm.git
cd rapidkit-npm

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Watch mode
npm run dev

Related Projects

  • RapidKit Python - The core framework (coming soon to PyPI)
  • RapidKit Docs - https://rapidkit.top
  • GitHub: https://github.com/getrapidkit

License

MIT

Support


v0.12.4 - Friendly shell activation UX with green headers and robust fallback logic

v0.12.2 - Simplified CLI: rapidkit init now handles environment activation automatically

v0.12.0 - Added NestJS template, workspace mode, and unified CLI