New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

com-react

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com-react

com-react is a React-Component-Generator that generates a file with An Arrow Function Component for React

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

Com-React

com-react is a React-Component-Generator that generates a file with An Arrow Function Component for React

(on NPM: com-react)

Quick Installation:

NPM (Globally)

npm install -g com-react

or (Locally)

npx com-react

Once You have installed com-react you can use it from anywhere in your PC. Run the following command to make sure that you have the latest version

com-react --version

or

com-react -V

How to Use

You can run com-react from the root of your application using

com-react <FileName>

or

com-react <FolderName>/<FoldersName> <FileName>

Examples

com-react card

This command will generate a Card.js File and Open It. inside the src/ folder of the react project.

com-react components card

This command creates a file named Card.js inside the components/ folder all of this will be inside the src/ folder. It also supports nested folders like

com-react components/cards card

Note

When the File generates it will be automatically opened in the vscode IDE.
Other IDE or Text Editors not supported yet.

Keywords

com-react

FAQs

Package last updated on 25 Feb 2022

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