Nodular Pudding Multiverse

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

    2.0.0-beta.2 • 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@next

    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

    Install

    npm i cropperjs@2.0.0-beta.2

    Version

    2.0.0-beta.2

    License

    MIT

    Unpacked Size

    409 kB

    Total Files

    10

    Last publish

    Collaborators

    • chenfengyuan