Skip to content
/ cropd Public
forked from mozilla/cropd

A JavaScript image cropping library

Notifications You must be signed in to change notification settings

hidde/cropd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A JavaScript image cropping library

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.9%
  • Vue 40.1%