# Cropper.js

JavaScript image cropper.

Repository: https://github.com/fengyuanchen/cropperjs
Canonical: https://ross.abutalabs.com/products/cropperjs
Homepage: https://fengyuanchen.github.io/cropperjs/
Language: TypeScript
License: MIT
License Family: permissive
Topics: image-cropper, image-processing, cropper, cropperjs, javascript
Last push: 2026-08-23T12:32:15+00:00
Link (homepage): https://fengyuanchen.github.io/cropperjs/

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 75, longevity 100
- inputs: {"age_days": 3995, "days_push": 10, "days_rel": 10, "gap_med": 138, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13864, forks 2432 (observed 2026-08-28T04:11:04.983902+00:00)

## What it is
Cropper.js is a JavaScript library for cropping images in the browser, built as customizable, extensible web components. The related 'cropper' package is a jQuery plugin wrapper around the same cropping functionality.

## Use cases
- crop user-uploaded profile pictures in the browser
- let users select and crop an image region before upload
- rotate, zoom, and scale images interactively on a web page
- build an avatar editor with aspect ratio constraints
- crop images in a React, Vue, or Angular app

## When to avoid
- you need server-side or batch image processing
- you need full image editing beyond cropping, rotating, and scaling
- your project does not run in a browser

## Facets
- artifact type: library
- maturity: stable
- function: image-processing, ui-components
- domain: image-processing, frontend, web-development
- platform: browser
- tags: image-cropper, web-component, custom-element, jquery-plugin, typescript, javascript, web

## Member repositories
- fengyuanchen/cropperjs (main) score 91
- fengyuanchen/cropper (plugin) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:04.983902+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:12:59.019572+00:00, confidence not recorded.
  - readme: https://github.com/fengyuanchen/cropperjs (fetched 2026-08-28T04:11:04.983902+00:00, sha ad978c1975f6)
  - homepage: https://fengyuanchen.github.io/cropperjs/ (fetched 2026-08-29T08:07:40.692412+00:00, sha 5bb7c877770c)
  - registry_npm: https://registry.npmjs.org/cropperjs (fetched 2026-08-29T08:07:40.701840+00:00, sha 159f3637b3cb)
  - registry_npm: https://registry.npmjs.org/cropper (fetched 2026-08-29T08:07:40.703810+00:00, sha 56270b61f318)
- Data as of 2026-08-30T08:39:29.467469+00:00.
