<commit_before># Ember-inputmask

This addon provides an general use input masking component using the
[jquery.inputmask](https://github.com/RobinHerbots/jquery.inputmask) plugin,
along with a set of commonly used masks including

* Credit card inputs
* Currency inputs
* Date inputs
* Email inputs
* Number inputs
* Phone number inputs
* Zip code inputs

## Installation

```
$ ember install:addon ember-inputmask
```

## Usage

The standard `input-mask` component:

```
{{input-mask mask="999-aaa-***" value=foo unmaskedValue=bar}}
```

### Default masking definitions

* 9 : numeric
* a : alphabetical
* \* : alphanumeric
* A : automatically uppercased alphabetical 
* \# : unicode

Optional portions of masks are delimited with brackets `[]`:

```
// Optionally lets the user add the last dash and characters
{{input-mask mask="999-aaa[-***]" value=foo unmaskedValue=bar}}
```

### Unmasked Value<commit_msg>Use latest ember-cli install command<commit_after># Ember-inputmask

This addon provides an general use input masking component using the
[jquery.inputmask](https://github.com/RobinHerbots/jquery.inputmask) plugin,
along with a set of commonly used masks including

* Credit card inputs
* Currency inputs
* Date inputs
* Email inputs
* Number inputs
* Phone number inputs
* Zip code inputs

## Installation

```
$ ember install ember-inputmask
```

## Usage

The standard `input-mask` component:

```
{{input-mask mask="999-aaa-***" value=foo unmaskedValue=bar}}
```

### Default masking definitions

* 9 : numeric
* a : alphabetical
* \* : alphanumeric
* A : automatically uppercased alphabetical 
* \# : unicode

Optional portions of masks are delimited with brackets `[]`:

```
// Optionally lets the user add the last dash and characters
{{input-mask mask="999-aaa[-***]" value=foo unmaskedValue=bar}}
```

### Unmasked Value
{'fraction_non_alphanumeric': 0.12275936990765889, 'fraction_numerical': 0.0076045627376425855, 'mean_word_length': 4.829113924050633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5149083', 'n_tokens_mistral': 595, 'n_tokens_neox': 538, 'n_words': 185}