cropperjs
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Cropper.js

JavaScript image cropper.

Main npm package files

dist/
├── cropper.js         (UMD, bundled)
├── cropper.min.js     (UMD, bundled, compressed)
├── cropper.raw.js     (UMD, unbundled, default)
├── cropper.esm.js     (ECMAScript Module, bundled)
├── cropper.esm.min.js (ECMAScript Module, bundled, compressed)
├── cropper.esm.raw.js (ECMAScript Module, unbundled)
└── cropper.d.ts       (TypeScript Declaration File)

Getting started

Installation

npm install cropperjs

Usage

import Cropper from 'cropperjs';

const image = new Image();

image.src = '/path/to/image.jpg';

const cropper = new Cropper(image);

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.018,087latest
2.0.0-rc.21,109next

Version History

VersionDownloads (Last 7 Days)Published
2.0.018,087
2.0.0-rc.21,109
2.0.0-rc.145
2.0.0-rc.01
2.0.0-rc291
2.0.0-beta.54
1.6.2388,585
1.6.1242,292
1.6.0102,024
2.0.0-beta.4302
2.0.0-beta.3286
2.0.0-beta.275
1.5.1364,050
2.0.0-beta.112
2.0.0-beta40
2.0.0-alpha.2330
1.5.1266,102
1.5.1115,389
1.5.101,251
1.5.97,589
1.5.8108
1.5.738,035
2.0.0-alpha.156
1.5.620,059
1.5.5778
1.5.4212
1.5.3205
1.5.2512
1.5.12,052
1.5.09
2.0.0-alpha14
1.4.32,566
1.4.2141
1.4.1547
1.4.080
1.3.672
1.3.5246
1.3.4135
1.3.38
1.3.2398
1.3.12
1.3.08
1.2.2564
1.2.13
1.2.052
1.1.3402
1.1.21
1.1.1129
1.1.043
1.0.0435
1.0.0-rc.38,427
1.0.0-rc.240
1.0.0-rc.13
1.0.0-rc0
1.0.0-beta.246
1.0.0-beta.1186
1.0.0-beta1
1.0.0-alpha23
0.8.19,485
0.8.02
0.7.2106
0.7.1423
0.7.018
0.6.02
0.5.6214
0.5.51
0.5.42
0.5.31
0.5.21
0.5.12
0.5.01
0.4.03
0.3.36
0.3.21
0.3.12
0.3.01
0.2.12
0.2.02
0.1.10
0.1.04
0.0.03

Package Sidebar

Install

npm i cropperjs

Weekly Downloads

994,744

Version

2.0.0

License

MIT

Unpacked Size

428 kB

Total Files

10

Last publish

Collaborators

  • chenfengyuan