
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
cli-rtg-generator
Advanced tools
A lightweight CLI to generate React components, TypeScript types, and constants in your src/ directory — with nested path support and short Angular-style commands.
.tsx) in src/src/types/ and constants in src/constants/ui/Buttong c, g t, g constnpm install -g cli-rtg-generator
rtg create-component components/MyCard
rtg create-type models/User
rtg create-constants config/theme
rtg g c components/MyCard # Create component
rtg g t models/User # Create type
rtg g const config/theme # Create constant
| Command | Output Path |
|---|---|
rtg g c Button | src/Button.tsx |
rtg g c ui/Card | src/ui/Card.tsx |
rtg g t User | src/types/User.ts |
rtg g t models/User | src/types/models/User.ts |
rtg g const app | src/constants/app.ts |
rtg g const config/theme | src/constants/config/theme.ts |
code CLI must be available in your system PATH for file auto-open to work.src/ to keep your project clean and organized.Created with ❤️ by Jaymin
MIT © jaymin shiroya
FAQs
CLI tool to generate React components and TypeScript types.
We found that cli-rtg-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.