Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
react-creates
Advanced tools
Simple and easy to use react CLI.
React creates for you useful and common tools that adapt themselves to your project for faster and easier development
You can go to ways:
Writer this in the terminal inside your react project:
npx react-creates component MyComponent
Will generate for you:
📦MyComponent
┣ 📜MyComponent.js
┣ 📜MyComponent.test.js
┣ 📜index.js
┗ 📜style.css
React Creates will support as many cases as it can, You need a use case it doesn't support? Please open issue.
You want to create flow for that use case? You are more than welcome! Learn how here.
Current features:
React lets you define components as classes or functions. But why you need to write it every time? Here how to do create one in seconds:
npx react-creates component <name>
Option | Default | Description |
---|---|---|
--scss | false | Force scss style |
--css | false | Force css style |
--sass | false | Force sass style |
-l --language <scripting> | Calculated (Checks for tsconfig to determent) | Select the language you want the component to be |
-d --directory <target> | process.cwd() | Component directory |
-t --type <component> | function | What type of the component it should be. (function or class) |
-pt --prop-types | false | Should add Prop-types. Only works if inside javascript project |
-f --function | false | Force function component |
-s --style <styling> | css | Selected style |
npx react-creates component MyComponent
npx react-creates component MyComponent --type class
npx react-creates component MyComponent --style sass
npx react-creates component MyComponent -d /Users/project/cool-project
npx react-creates component MyComponent -l typescript
Please open an issue for support.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.
FAQs
React creates for you useful and common tools that adapt themselves to your project for faster and easier development
The npm package react-creates receives a total of 0 weekly downloads. As such, react-creates popularity was classified as not popular.
We found that react-creates demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.