TypeScript MIT

maska

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

B

beholdr

Dernière activité 29 sept. 2026
beholdr/maska

2 k

étoiles

78

forks

5

issues ouvertes

alpinejsinputinput-maskinputmaskjavascriptmasksveltevue

Ce README est souvent en anglais.

Simple zero-dependency input mask.

Maska

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

Projets similaires

🥸 A React/Vue Hook for building elegant input masks. Compatible with React Hook Form and Vee Validate.

TypeScriptformformshook
Eeduardoborges
682 étoiles24

Collection of libraries to create an input mask which ensures that user types value according to predefined format.

TypeScriptangularhacktoberfestinput-formatting
Ttaiga-family
1,7 k étoiles50

Input Mask plugin

JavaScriptinputmaskjqlitejquery-plugin
RRobinHerbots
6,5 k étoiles2,1 k