Skip to content
A JavaScript image cropping library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
packages
.gitignore
.prettierrc
CODE_OF_CONDUCT.md
README.md
lerna.json
package.json
yarn.lock

README.md

cropd - simple image cropper npm bundle size

Installation

npm install --save cropd

or

yarn add cropd

Usage

import crop from 'cropd';

const cropper = crop(targetElement, {
  src: 'someimageurl'
});

// When you want to extract the cropped region
cropper.toDataURL();

TODO

  • wrappers for:
    • Vue
    • React
    • Svelte
  • finish Lerna setup
You can’t perform that action at this time.