viocassel / maska

Simple zero-dependency input mask for Vue.js and vanilla JS.

Home Page:https://beholdr.github.io/maska

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple zero-dependency input mask.

Maska

Maska v3 is currently in beta. If you encounter any issues, please report them.

Support ☕️

❤️ Please support Maska development!

Features ✨

  • No dependencies and small size: ~3 Kb gziped
  • Vanilla JS version + Vue 2/3, Alpine.js and Svelte integrations
  • Works with native and custom inputs
  • Custom tokens with modifiers, transform functions and hooks
  • Number mask mode: easy money formatting
  • Dynamic, reversed and eager masks

What’s new in v3 🎉

  • Integrations with Alpine.js and Svelte
  • Number mask mode
  • Simplified directive format
  • Other small improvements and fixes

Source of Inspiration 💡

License 📄

MIT

About

Simple zero-dependency input mask for Vue.js and vanilla JS.

https://beholdr.github.io/maska

License:MIT License


Languages

Language:TypeScript 91.1%Language:Vue 6.9%Language:Svelte 1.7%Language:JavaScript 0.2%Language:HTML 0.1%