js-cropper

1.0.1 • Public • Published

js-cropper

Quick and easy way to add image cropping functionality to your web application without dependencies

Features

  • Promise API
  • Supports Touch Events
  • Multiple callbacks
  • No dependencies (pure JavaScript code)
  • Excellent Browser support
  • Based on canvas technology
  • Available Zooming (Setting/Resetting/UI input)
  • Exports cropped image in Base64
  • Gets position/zoom in JSON data
  • Sets position/zoom from JSON data
  • Dynamically changing dimensions of cropping area via available public methods
  • Loads image by URL
  • and many others...

Docs

Tests

In order to test this module - run npm test

License

MIT © Denis Kalinichenko

Package Sidebar

Install

npm i js-cropper

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

436 kB

Total Files

44

Last publish

Collaborators

  • denis-kalinichenko