Requires Node.js. Install dependencies with:
npm ciAll source lives in src/. Edit src/cropt.ts for library logic,
src/cropt.css for styles, or src/demo.ts for the demo app.
Note
*.js and *.d.ts files are auto-generated; do not edit them directly.
Compile TypeScript and demo files, and copy assets to demo/build/:
npm run prepareServe the demo locally at http://localhost:8080:
npm startnpm run format