new-jsx
v0.0.0
Published
Create a JSX component snippet.
Downloads
4
Maintainers
Readme
[WIP] new-jsx
Simple, customizable utility for adding new JSX components to your project. Compatible with multiple meta frameworks
TODO
- [ ] Add compatibility with React
- [ ] Add compatibility with Preact
- [ ] Add compatibility with Solid-js
- [ ] Add compatibility with Vue
- [ ] Add compatibility with Svelte
- [ ] Add compatibility with Astro
- [ ] Format generated code with Prettier
- [ ] Lint generated code with ESLint
- [ ] Add ability to choose between functional components and arrow function components
Inspired on new-component.
Install
$ npm install --global new-jsx
Basic usage
$ new-jsx
Usage with args
$ new-jsx --name=counter --lang=ts --dir=./src/components --framework=svelte --format