# angular-croppie

> Use Croppie (https://github.com/Foliotek/Croppie) for a simple image cropping.

Latest version **1.0.4** (published 2021-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-croppie
pnpm add angular-croppie
yarn add angular-croppie
bun add angular-croppie
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2021-05-04 |
| First published | 2016-05-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 (+10 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 17 |
| Author | Bettina Steger |
| Maintainers | lpsbetty |
| Keywords | avatar, image, cropping |

## Links

- npm: https://www.npmjs.com/package/angular-croppie
- Repository: https://github.com/lpsBetty/angular-croppie
- Homepage: https://github.com/lpsBetty/angular-croppie#readme
- Issues: https://github.com/lpsBetty/angular-croppie/issues
- npm.io page: https://npm.io/package/angular-croppie

## Dependencies (2)

- [angular](https://npm.io/package/angular.md) >=1.6.0
- [croppie](https://npm.io/package/croppie.md) ^2.4.0

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2021-05-04
- 1.0.3 — 2018-09-06
- 1.0.0 — 2016-05-23

## README

# angularCroppie

Image Cropper using [Croppie](https://github.com/Foliotek/Croppie)


## Install

Npm: `npm install angular-croppie`


## Usage

Add the dependency: `angular.module('myApp', ['angularCroppie'])`.
Use the Angular 1.5 component:

```
<croppie src="cropped.source" ng-model="cropped.image"></croppie>
```

or with [Croppie options](http://foliotek.github.io/Croppie/#documentation): 

```
<croppie src="cropped.source" ng-model="cropped.image" options="{ viewport: { width: 400, height: 280 } }"></croppie>
```

Simple Example: [plnkr](https://plnkr.co/edit/tKTdhsUBr57coqlZBRgF?p=preview)


## Documentation
[Documentation](http://foliotek.github.io/Croppie#documentation)

---
_Source: https://npm.io/package/angular-croppie · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
