Gathering detailed insights and metrics for vue-cropperjs
Gathering detailed insights and metrics for vue-cropperjs
Gathering detailed insights and metrics for vue-cropperjs
Gathering detailed insights and metrics for vue-cropperjs
A Vue wrapper component for cropperjs https://github.com/fengyuanchen/cropperjs
npm install vue-cropperjs
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
937 Stars
76 Commits
224 Forks
14 Watching
19 Branches
12 Contributors
Updated on 31 Oct 2024
JavaScript (54.25%)
Vue (43.78%)
HTML (1.97%)
Cumulative downloads
Total Downloads
Last day
-5.6%
12,293
Compared to previous day
Last week
0%
70,549
Compared to previous week
Last month
33.9%
303,917
Compared to previous month
Last year
10.3%
2,920,472
Compared to previous year
1
1
A Vue wrapper component for cropperjs.
Checkout here agontuk.github.io/vue-cropperjs
1npm install --save vue-cropperjs
or
yarn add vue-cropperjs
You will also need css & style loader for webpack
Vue Version | Package Version |
---|---|
3.x.x | >=5.0.0 |
2.x.x | 4.2.0 |
1.x.x | 1.0.3 |
1// Global 2import Vue from 'vue'; 3import VueCropper from 'vue-cropperjs'; 4import 'cropperjs/dist/cropper.css'; 5Vue.component(VueCropper); 6 7// Local 8import VueCropper from 'vue-cropperjs'; 9import 'cropperjs/dist/cropper.css'; 10export default { 11 components: { VueCropper} 12} 13 14... 15<vue-cropper 16 ref="cropper" 17 :src="imgSrc" 18 alt="Source Image" 19 @ready="..." 20 @cropstart="..." 21 @cropmove="..." 22 @cropend="..." 23 @crop="..." 24 @zoom="..." 25> 26</vue-cropper> 27... 28 29this.$refs.cropper.rotate(45);
See the example files & cropperjs documentation
Name | Type | Required | Description |
---|---|---|---|
src | string | -- | Image source |
containerStyle | object | -- | Styling for the image container |
imgStyle | object | -- | Styling for the image |
alt | string | -- | Alternate text for the image |
See cropperjs documentation for all posible options & methods.
relativeZoom
from zoom
initCrop
from crop
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 7/30 approved changesets -- score normalized to 2
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
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
57 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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