New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

react-code-generator

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-code-generator

CLI tool for generating React components code

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

reactCodeGenerator

A CLI tool for generating React components source code.

Installing

Install it as a global package:

npm install -g react-code-generator

Usage

Run the generator with the following command:

generate-component <componentName>

This will result in creating a fresh JavaScript file in the current location (where you called the command from). Name of the file will be according to argument, and it will contain a React component implemented as a ES6 module.

Keywords

React

FAQs

Package last updated on 08 Jan 2017

Related posts