1.0.4 • Published 3 years ago
ctcomp v1.0.4
🎨 ctcomp
ctcomp is a command-line utility for creating React components with TypeScript and SCSS modules quickly.
🎉 Getting Started
To use ctcomp, first install it globally:
npm install -g ctcompThen, you can use the ctcomp command to create a new component:
ctcomp MyComponentThis will create a new directory called MyComponent in the current working directory, with a MyComponent.tsx file and a MyComponent.module.scss file.
🤖 API
ctcomp(componentName: string): string
Creates a new React component with the specified name. Returns the name of the created component.
🙌 Contributing
Contributions are welcome! If you have any feature requests or bug reports, please open an issue on the GitHub repository.
📝 License
ctcomp is licensed under the MIT License. Feel free to use it in your projects! 🎉