A Vue.js Plugin for masking input fields.
{
'9': /\d/, // any digit
'A': /[A-Z]/, // any uppercase letter
'a': /[a-z]/, // any lowercase letter
'C': /[A-z0-9]/, // any alphanumeric character
'c': /[A-z]/ // any letter
}
<input type="text" v-mask="(999) 999-9999">
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev