
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
generate-react-cli
Advanced tools
To help speed up productivity in react projects. For example you can run one command generate-react component <ComponentName>
to instantly generate a component with its corresponding files (stylesheet, test).
We are starting off with the bare minimum of just generating a component. We plan to add additional commands, options, and configurations in the future.
Few notes:
npm i -g generate-react-cli
generate-react component <ComponentName>
This will create a folder with your component name within the src/components directory by default, and it will generate 3 corresponding files (.js, .module.css, .test.js) within it.
Parameter | Description | Default Value |
---|---|---|
-p or--path | Value of the path where you want the component to be generated in (e.g. src/pages ). | src/components |
1.4.1 (2019-08-07)
FAQs
A simple React CLI to generate components instantly and more.
The npm package generate-react-cli receives a total of 5,475 weekly downloads. As such, generate-react-cli popularity was classified as popular.
We found that generate-react-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.