https://github.com/guoyunhe/svg-scripts
Transform SVG to React components
https://github.com/guoyunhe/svg-scripts
Last synced: 3 months ago
JSON representation
Transform SVG to React components
- Host: GitHub
- URL: https://github.com/guoyunhe/svg-scripts
- Owner: guoyunhe
- Created: 2023-04-24T07:28:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T07:32:46.000Z (about 2 years ago)
- Last Synced: 2025-01-10T17:39:36.428Z (5 months ago)
- Language: TypeScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# svg-scripts
## Install
### Run directly
```bash
npx svg-scripts
```### Install on system
```bash
npm i -g svg-scripts
%binName%
```### Install in project
```bash
npm i -D svg-scripts
```Add script entry:
```json
{
"scripts": {
"%binName%": "%binName%"
}
}
```Run:
```bash
npm run %binName%
```## Options
### `--help`
Show help
### `--version`
Show version