# @pderas/vue2-chars

> A string of tokens that produces that many single input boxes

Latest version **1.0.4** (published 2018-10-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pderas/vue2-chars
pnpm add @pderas/vue2-chars
yarn add @pderas/vue2-chars
bun add @pderas/vue2-chars
```

## 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 | 2018-10-11 |
| First published | 2018-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | David Buss |
| Maintainers | codymoorhouse, drewpderas |
| Keywords | vue2, vue2js, vue2-chars, vue2chars |

## Links

- npm: https://www.npmjs.com/package/@pderas/vue2-chars
- Repository: https://github.com/PDERAS/vue2-chars
- Homepage: https://github.com/PDERAS/vue2-chars#readme
- Issues: https://github.com/PDERAS/vue2-chars/issues
- npm.io page: https://npm.io/package/@pderas/vue2-chars

## Recent versions

- 1.0.4 (latest) — 2018-10-11
- 1.0.3 — 2018-09-27
- 1.0.2 — 2018-03-15
- 1.0.1 — 2018-01-24
- 1.0.0 — 2018-01-24
- 0.0.1 — 2018-01-24
- 0.0.0 — 2018-01-19

## README

# Vue Chars
A vue.js plugin that gets takes a string of tokens and produces that many single input boxes.
The value, however, will be one connected string (e.i. Not a bunch of single characters seperated)

## How to initialize Vue Chars
Vue chars is built as a vue plugin to allow for use throughout the application.

```javascript
import Chars from "@pderas/vue2-chars";

Vue.use(Chars);
```

## Usage
#### Creation
Vue chars is easily created, but at mininum requires a [mask](#masks). Having said that, Vue chars works best with v-model.
```HTML
<chars mask="####" v-model="myVar"></chars>
```

## Properties
| Property  | Required | Type                 | Default                 | Description                                   |
|-----------|----------|----------------------|:-----------------------:|-----------------------------------------------|
| mask      | true     | Number               | n/a                     | The mask for the input                        |
| value     | false    | Number&#124;String   | 0                       | Value for the input, can be used with v-model |


#### Masks
| Mask  | Description                                            |
|:-----:|--------------------------------------------------------|
| #     |  Number character only                                 |
| X     |  Alphanumeric character only                           |
| S     |  Alphabetic character only                             |
| A     |  Alphabetic character only (will convert to uppercase) |
| a     |  Alphabetic character only (will conver to lowercase)  |

## License
This project is covered under the MIT License. Feel free to use it wherever you like.

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