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 cropro
yarn add cropro
From 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/cropro
Run the build script:
yarn build
You can now get the library files in the /dist
directory.