Gathering detailed insights and metrics for @4tw/vue-cli-plugin-svg-icon
Gathering detailed insights and metrics for @4tw/vue-cli-plugin-svg-icon
npm install @4tw/vue-cli-plugin-svg-icon
Typescript
Module System
Node Version
NPM Version
36.7
Supply Chain
39.6
Quality
73.2
Maintenance
25
Vulnerability
77.1
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
28,937
Last Day
5
Last Week
21
Last Month
85
Last Year
1,514
GPL-2.0 License
5 Commits
7 Watchers
4 Branches
18 Contributors
Updated on Aug 05, 2019
Latest Version
0.0.2
Package Id
@4tw/vue-cli-plugin-svg-icon@0.0.2
Unpacked Size
72.17 kB
Size
28.44 kB
File Count
6
NPM Version
6.4.1
Node Version
8.16.0
Cumulative downloads
Total Downloads
Last Day
0%
5
Compared to previous day
Last Week
61.5%
21
Compared to previous week
Last Month
23.2%
85
Compared to previous month
Last Year
-43.9%
1,514
Compared to previous year
2
Adds webpack rules to generate optimized svg sprites.
1yarn add --dev @4tw/vue-cli-plugin-svg-icon
Provide a svgDir
option under pluginOptions
in your vue.config.js
config.
1module.exports = { 2 pluginOptions: { 3 svgDir: path.resolve(__dirname, 'src/assets/svg'), 4 }, 5}
All svg files under the svgDir
are processes and provided as an import.
The imports are aliased under svg
.
1import Icon from 'svg/your_icon.svg'
The imported module provides a symbol from the svg-sprite-loader
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-17
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