Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

react-component-gen-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-component-gen-cli

A simple CLI tool to generate React components with TypeScript and CSS Modules.

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
7
-36.36%
Maintainers
1
Weekly downloads
 
Created
Source

Recomp CLI A simple and fast command-line tool to generate boilerplate for React components using TypeScript and CSS Modules.

Installation Install the package globally using npm:

npm install -g recomp-cli

Usage Once installed, you can use the recomp command in your terminal.

Generate a Component To generate a new component, use the gen command:

recomp gen <component-name> [directory]

: The name of your component (e.g., user-profile).

[directory]: An optional directory to create the component in. Defaults to ./src/components.

Example This command will create a UserProfile component in ./src/components/user-profile.

recomp gen user-profile

The following file structure will be created:

src/
└── components/
└── user-profile/
├── index.ts
├── UserProfile.module.css
└── UserProfile.tsx

License This project is licensed under the MIT License.

Keywords

react

FAQs

Package last updated on 31 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts