<commit_before>Vue input mask
==============

Simple input mask lib for vue.js based on [PureMask.js](https://github.com/romulobrasil/PureMask.js)

**[Demo](https://cdn.rawgit.com/probil/v-mask/vue-2.0/demo/index.html)**

## Installation

This version requires Vue 2.X. If you are looking for Vue 1.X, [check it here](https://github.com/probil/v-mask/tree/vue-1.x).

  `npm install v-mask`

## Usage

```javascript
import Vue     from 'vue'
import VueMask from 'v-mask'

/** Activate vue.js plugins **/
Vue.use(VueMask);
```

Now you are ready to use it in the code!

```html
<input type="text" v-mask="'####-##'">
<!-- OR -->
<input type="text" v-mask="'##/##/#### ##:##'" >
```

## Format description

List of supported placeholders:

| Value | Format                       |
|-------|------------------------------|
| #     | Number (0-9)                 |
| A     | Letter in any case (a-z,A-Z) |
| N     | Number or letter             |
| X     | Any symbol                   |

## Tests

[Jest](https://github.com/facebook/jest) is used for unit-tests

You can run tests by typing this command in your console:

```bash****
npm test
```

## Contributing

PR is welcome!<commit_msg>[DOC] Added e2e tests info to the README<commit_after>Vue input mask
==============

Simple input mask lib for vue.js based on [PureMask.js](https://github.com/romulobrasil/PureMask.js)

**[Demo](https://cdn.rawgit.com/probil/v-mask/vue-2.0/demo/index.html)**

## Installation

This version requires Vue 2.X. If you are looking for Vue 1.X, [check it here](https://github.com/probil/v-mask/tree/vue-1.x).

  `npm install v-mask`

## Usage

```javascript
import Vue     from 'vue'
import VueMask from 'v-mask'

/** Activate vue.js plugins **/
Vue.use(VueMask);
```

Now you are ready to use it in the code!

```html
<input type="text" v-mask="'####-##'">
<!-- OR -->
<input type="text" v-mask="'##/##/#### ##:##'" >
```

## Format description

List of supported placeholders:

| Value | Format                       |
|-------|------------------------------|
| #     | Number (0-9)                 |
| A     | Letter in any case (a-z,A-Z) |
| N     | Number or letter             |
| X     | Any symbol                   |

## Tests

[Jest](https://github.com/facebook/jest) is used for unit-tests.

You can run tests by typing this command in your console:

```bash
npm test
```

[Nightwatch](http://nightwatchjs.org/) is used of E2E testing.

To run e2e-tests you should type:
```bash
npm run e2e
```


## Contributing

PR is welcome!
{'fraction_non_alphanumeric': 0.20737509912767646, 'fraction_numerical': 0.007137192704203013, 'mean_word_length': 2.460905349794239, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 8, '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': '37459', 'n_tokens_mistral': 907, 'n_tokens_neox': 853, 'n_words': 244}