cropperjs
JavaScript image cropper.

cropperjs downloads cropperjs version cropperjs license

cropperjs類似套件:
npm下載趨勢
3 年
🌟 在 cropperjs 的 README.md 中顯示即時使用量圖表,只需複製下面的代碼。
## Usage Trend
[![Usage Trend of cropperjs](https://npm-compare.com/img/npm-trend/THREE_YEARS/cropperjs.png)](https://npm-compare.com/cropperjs#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 在 cropperjs 的 README.md 中顯示 GitHub stars 趨勢圖表,只需複製下面的代碼。
## GitHub Stars Trend
[![GitHub Stars Trend of cropperjs](https://npm-compare.com/img/github-trend/cropperjs.png)](https://npm-compare.com/cropperjs)
統計詳情
套件
下載數
Stars
大小
Issues
發布時間
許可
cropperjs1,036,56513,693440 kB3611 天前MIT
cropperjs 的 README

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