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
Typescript
Module System
Node Version
NPM Version
JavaScript (54.25%)
Vue (43.78%)
HTML (1.97%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
952 Stars
76 Commits
224 Forks
13 Watchers
19 Branches
12 Contributors
Updated on Jun 16, 2025
Latest Version
5.0.0
Package Id
vue-cropperjs@5.0.0
Size
4.88 kB
NPM Version
7.3.0
Node Version
15.5.0
Published on
Feb 01, 2021
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
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
project is not fuzzed
Details
Reason
security policy file not detected
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
68 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