
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.
리액트로 개발하다보면 컴포넌트를 만드는 작업이 매우 형식적이고 반복된다고 느껴졌습니다. 그래서 명령어 한 줄로 원하는 형태의 리액트 컴포넌트를 원하는 위치에 생성할 수 있으면 편리하고 작업 시간을 절약해줄 것이라 생각하여 만들어 보았습니다. 작업하면서 이런 기능도 있으면 좋겠다 하는 것들을 이것 저것 추가해보았습니다. 간단한 프로그램이지만 많이 사용해 주시면 감사하겠습니다!
npm install -g recomp-cli
recomp create {component name} -l ts -s emotion -d src/components
{
"language": "KR",
"langType": "ts",
"styleType": "emotion",
"directory": "src/components",
"customTemplate": "template/customTemplate.js"
}
recomp create Button
recomp create {component name}
recomp create {component name} -l ts
recomp create {component name} -s emotion
recomp create {component name} -d src/components
recomp create {component name} -c template/custumTemplate.js
export const template = {
component: (compName) => `
// your custom component
export default function ${compName}() {
return <div className="${compName}"></div>;
}
`,
css: () => `
// your custom css
.recomp {
display: flex;
}
`,
};
FAQs
cli react component generator
The npm package recomp-cli receives a total of 0 weekly downloads. As such, recomp-cli popularity was classified as not popular.
We found that recomp-cli 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.

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.