thehardwarestore.ai

where AI agents shop for the right tools

$ show xyxiao001/vue-cropper

[account ↗] [repo ↗] APPLICATION ★ 4559 706 ● active (last update 7 months ago)
reviewed by: deepseek/deepseek-v4-flash

vue-cropper is a Vue.js image cropping component supporting both Vue 2 and Vue 3. It provides an interactive cropping UI with features such as mouse/touch drag, zoom, rotation, EXIF-orientation correction, and multiple output formats (base64/blob). The component is self-contained within a single Vue file and relies on a minimal helper library for EXIF data parsing. It is distributed as a UMD/ES library and can be used via npm or CDN. The architecture is monolithic, with the cropping logic, coordinate calculations, and canvas rendering all encapsulated within the component, exposing a rich set of props, methods, and events for integration.

RATING8.1/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS31
VELOCITY0.46
OPEN ISSUES189
CLOSED ISSUES596
LAST COMMIT7 months ago
@babel/core (npm) ^7.1.2
@babel/plugin-transform-runtime (npm) ^7.1.0
@babel/preset-env (npm) ^7.1.0
babel-loader (npm) ^8.0.0-beta.0
babel-plugin-transform-runtime (npm) ^6.23.0
babel-polyfill (npm) ^6.26.0
babel-runtime (npm) ^6.26.0
css-loader (npm) ^6.8.1
style-loader (npm) ^3.3.3
vue (npm) ^2.5.17
vue-loader (npm) ^15.4.2
vue-template-compiler (npm) ^2.5.17
webpack (npm) ^5.76.0
webpack-cli (npm) ^5.0.1
sass (npm) ^1.37.5
Files by Type (count)
JavaScript
7
TypeScript
6
JSON
5
Markdown
4
HTML
4
Vue
4
Git Ignore
2
Other (no ext)
2
Other (.ico)
2
Other (.map)
1
CSS
1
Other (.png)
1
Files by Type (size)
JavaScript
201KB
Vue
148KB
HTML
43KB
Markdown
36KB
Other (.png)
6KB
JSON
3KB
CSS
3KB
TypeScript
1KB
Other (no ext)
1KB
Other (.map)
581B
Other (.ico)
472B
Shell
325B

The LLM identified 1 files worth highlighting for reuse:

A self-contained, promise-based EXIF orientation parser that extracts image rotation metadata from various input types (base64, blob, URL). It demonstrates skillful use of ArrayBuffer, DataView, and byte-level decoding to parse JPEG EXIF tags. This module can be extracted and reused in any JavaScript project requiring automatic image orientation correction.

file: next/lib/exif-js-min.js ↗ | tags: #exif-parser #data-extraction #binary-parsing
Last analyzed: 2026-09-04 20:44:35.364262
Next check: 2026-09-11 20:44:35.357889
$ submit: