Get CROPRO
You can add CROPRO to your web app in one of the following ways:
From npm
Add CROPRO to your app by running one of the following commands.
npm install croproyarn add croproFrom CDN
Use UNPKG to add CROPRO directly to your page.
Add this code to the head section of your HTML.
<script src="https://unpkg.com/cropro/cropro.js"></script>Download standalone files
Download complied CROPRO files or source code from GitHub.
Build from source
Clone the repository:
git clone https://github.com/ailon/croproRun the build script:
yarn buildYou can now get the library files in the /dist directory.