Gathering detailed insights and metrics for vue-cli-plugin-any-svgicon
Gathering detailed insights and metrics for vue-cli-plugin-any-svgicon
npm install vue-cli-plugin-any-svgicon
Typescript
Module System
Node Version
NPM Version
61.5
Supply Chain
79.7
Quality
73.6
Maintenance
100
Vulnerability
100
License
JavaScript (74.52%)
EJS (10.78%)
Vue (7.45%)
CSS (7.26%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
15,201
Last Day
4
Last Week
19
Last Month
100
Last Year
1,262
21 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Mar 17, 2024
Minified
Minified + Gzipped
Latest Version
3.0.0
Package Id
vue-cli-plugin-any-svgicon@3.0.0
Unpacked Size
434.83 kB
Size
292.92 kB
File Count
245
NPM Version
8.3.1
Node Version
17.4.0
Cumulative downloads
Total Downloads
Last Day
0%
4
Compared to previous day
Last Week
-5%
19
Compared to previous week
Last Month
22%
100
Compared to previous month
Last Year
-53.9%
1,262
Compared to previous year
3
2
Is not an icon library, it is a tool to generate sprite svg from icons you will choose, although it generates heroicons collection as a starter while maintaining a backup folder to preview and import from any icons you will list.
vue add any-svgicon
this will install, invoke the plugin and leave you with svg-icon.config.js and .env file in your root directory for any special webpack setup, additionally adds the SvgIcon component to components directory.
You will be propmt to choose a folder name (relative to src/assets) to place your chosen svg icons that will be available for you to include in your vue project
Add some icon files you pick to the icons folder
all svg icons in the icons folder will be bundled and injected in main.js webpack context.
clean icons width and height is optional but recommended "you control it with css later and svgo plugin strips out most of the attributes", use the following script inside icons folder
for f in `ls`;do sed -E -i '' 's/(\^width|height)=.[[:alnum:]]+[\"]/ /g' $f;done
npm run icons
Will open up a friendly interface on port 3000 to search and choose from.
<SvgIcon icon-name='whatevername'/>
available props:
className:string
outline:boolean
// normally will use solid version of the icon and clean its attributes with svgo and
//then reapply styles with css
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
no SAST tool detected
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More