Gathering detailed insights and metrics for @kode-frontend/svg-transformer
Gathering detailed insights and metrics for @kode-frontend/svg-transformer
Gathering detailed insights and metrics for @kode-frontend/svg-transformer
Gathering detailed insights and metrics for @kode-frontend/svg-transformer
npm install @kode-frontend/svg-transformer
Typescript
Module System
Node Version
NPM Version
28.6
Supply Chain
85.2
Quality
79.8
Maintenance
100
Vulnerability
98.6
License
@kode-frontend/pathfinder-web@0.6.4
Published on 24 Dec 2024
@kode-frontend/pathfinder-web@0.6.3
Published on 20 Dec 2024
@kode-frontend/svg-transformer@0.0.1
Published on 25 Nov 2024
@kode-frontend/timeout-interceptor@0.0.1
Published on 03 Oct 2024
@kode-frontend/session-interceptor@0.0.11
Published on 01 Oct 2024
@kode-frontend/react-native-push-notification@1.0.1
Published on 17 Sept 2024
TypeScript (85.14%)
JavaScript (14.69%)
HTML (0.18%)
Total Downloads
131
Last Day
2
Last Week
5
Last Month
131
Last Year
131
4 Stars
124 Commits
1 Forks
7 Watching
2 Branches
7 Contributors
Latest Version
0.0.1
Package Id
@kode-frontend/svg-transformer@0.0.1
Unpacked Size
7.66 kB
Size
3.26 kB
File Count
4
NPM Version
10.8.2
Node Version
18.20.5
Publised On
25 Nov 2024
Cumulative downloads
Total Downloads
Last day
100%
2
Compared to previous day
Last week
66.7%
5
Compared to previous week
Last month
0%
131
Compared to previous month
Last year
0%
131
Compared to previous year
Easily convert SVGs into optimized React or React Native components with this CLI.
With @kode-frontend/svg-transformer
, you can:
Whether you want a quick one-off run or plan to integrate it into your project, @kode-frontend/svg-transformer
has you covered.
Run the CLI directly without installing it globally:
1# Using npx 2npx @kode-frontend/svg-transformer -i ./icons -o ./output -p react 3 4# Using pnpm exec 5pnpm exec @kode-frontend/svg-transformer -i ./icons -o ./output -p react 6 7# Using yarn dlx 8yarn dlx @kode-frontend/svg-transformer -i ./icons -o ./output -p react
Install globally to use the CLI anywhere:
1# npm 2npm install -g @kode-frontend/svg-transformer 3 4# pnpm 5pnpm add -g @kode-frontend/svg-transformer 6 7# yarn 8yarn global add @kode-frontend/svg-transformer
Run it globally:
1@kode-frontend/svg-transformer -i ./icons -o ./output -p react
Install as a development dependency in your project:
1# npm 2npm install --save-dev @kode-frontend/svg-transformer 3 4# yarn 5yarn add --dev @kode-frontend/svg-transformer 6 7# pnpm 8pnpm add -D @kode-frontend/svg-transformer
Run the CLI via npm scripts or a direct command:
1# npm script 2npm run @kode-frontend/svg-transformer -- -i ./icons -o ./output -p react 3 4# yarn 5yarn @kode-frontend/svg-transformer -i ./icons -o ./output -p react 6 7# pnpm 8pnpm @kode-frontend/svg-transformer -i ./icons -o ./output -p react
Option | Description | Default |
---|---|---|
--input | Input folder containing SVG files | ./icons |
--output | Output folder to save React components | ./output |
--platform | Target platform: react or react-native | react |
--interactive | Run in interactive mode to configure options manually | false |
Use interactive mode for guided configuration:
1npx @kode-frontend/svg-transformer --interactive
No vulnerabilities found.
No security vulnerabilities found.