Gathering detailed insights and metrics for vue-svg-component-builder
Gathering detailed insights and metrics for vue-svg-component-builder
Gathering detailed insights and metrics for vue-svg-component-builder
Gathering detailed insights and metrics for vue-svg-component-builder
npm install vue-svg-component-builder
Typescript
Module System
Node Version
NPM Version
58
Supply Chain
73.6
Quality
74.7
Maintenance
50
Vulnerability
100
License
TypeScript (93.48%)
JavaScript (6.52%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
663,615
Last Day
354
Last Week
2,955
Last Month
13,691
Last Year
99,117
2 Stars
18 Commits
3 Watchers
2 Branches
1 Contributors
Updated on Jan 31, 2025
Minified
Minified + Gzipped
Latest Version
2.0.3
Package Id
vue-svg-component-builder@2.0.3
Unpacked Size
12.36 kB
Size
3.58 kB
File Count
11
NPM Version
5.6.0
Node Version
10.0.0
Cumulative downloads
Total Downloads
Last Day
8.6%
354
Compared to previous day
Last Week
19.3%
2,955
Compared to previous week
Last Month
125.2%
13,691
Compared to previous month
Last Year
16.1%
99,117
Compared to previous year
This is a small utility library for creating directly-renderable VueJS components from SVG images. It is primarily designed to be used as a building block for other libraries which will handle the work of actually reading and parsing the SVGs into something usable by this library.
Simply run yarn add vue-svg-component-builder
or npm install vue-svg-component-builder
.
This library exports a single build
function which takes in an SVG and returns a view component. Currently
the only accepted format for the input is the AST output of vue-component-compiler
1import { build } from 'vue-svg-component-builder' 2import { compile } from 'vue-component-compiler' 3 4let svg = fs.readFileSync('filename.svg').toString() 5let compiled = compile(svg) 6 7Vue.extend({ 8 components: { 9 TestSvg: build(compiled.ast) 10 } 11})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/18 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
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