<commit_before># Ember-cli-cropper

This is npm package for ember-cli-cropper addon.

## Installation

* `npm install --save-dev ember-cli-cropper`
* `ember g ember-cli-cropper`

## Usage
 In your handlebars templates:
```
{{ember-cli-cropper source=imageSource crossorigin=true options='{"aspectRatio": 1,"minContainerWidth": 400,"minContainerHeight": 300, "minCropBoxWidth": 150, "minCropBoxHeight": 150}' }}<commit_msg>update readme, add method calls usage<commit_after># Ember-cli-cropper

This is npm package for ember-cli-cropper(https://github.com/fengyuanchen/cropper) addon.

## Installation

* `npm install --save-dev ember-cli-cropper`
* `ember g ember-cli-cropper`

## Usage
 In your handlebars templates:
```
{{ember-cli-cropper source=imageSource crossorigin=true options='{"aspectRatio": 1,"minContainerWidth": 400,"minContainerHeight": 300, "minCropBoxWidth": 150, "minCropBoxHeight": 150}' }}

```

Methods calls:

```
Ember.$('.img-container > img').cropper('rotate', 90);
```
{'fraction_non_alphanumeric': 0.15995975855130784, 'fraction_numerical': 0.028169014084507043, 'mean_word_length': 6.056737588652482, 'pattern_counts': {'":': 10, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3239835', 'n_tokens_mistral': 383, 'n_tokens_neox': 330, 'n_words': 76}