Gathering detailed insights and metrics for vue-html2canvas
Gathering detailed insights and metrics for vue-html2canvas
Gathering detailed insights and metrics for vue-html2canvas
Gathering detailed insights and metrics for vue-html2canvas
npm install vue-html2canvas
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
116 Stars
26 Commits
25 Forks
3 Watchers
14 Branches
5 Contributors
Updated on Jul 09, 2024
Latest Version
0.0.4
Package Id
vue-html2canvas@0.0.4
Unpacked Size
333.92 kB
Size
86.02 kB
File Count
9
NPM Version
6.4.1
Node Version
8.12.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Vue mixin for Html2Canvas
npm install vue-html2canvas
Or
yarn add vue-html2canvas
main.js
1import Vue from 'vue'; 2import VueHtml2Canvas from 'vue-html2canvas'; 3 4Vue.use(VueHtml2Canvas);
component
1<template> 2 <div> 3 <!-- SOURCE --> 4 <div ref="printMe"> 5 <h1>Print me!</h1> 6 </div> 7 <!-- OUTPUT --> 8 <img :src="output"> 9 </div> 10<template> 11 12<script> 13export default { 14 data() { 15 return { 16 output: null 17 } 18 }, 19 methods: { 20 print() { 21 const el = this.$refs.printMe; 22 // add option type to get the image version 23 // if not provided the promise will return 24 // the canvas. 25 const options = { 26 type: 'dataURL' 27 } 28 this.output = await this.$html2canvas(el, options); 29 } 30 } 31} 32</script>
Made with ❤️ by Jofferson Ramirez Tiquez
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/12 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
60 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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