cropd - simple image cropper
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();
Development
yarn start
TODO
- wrappers for:
- Vue
- React
- Svelte
- finish Lerna setup