maska
- Purpose: Maska is a simple, zero-dependency input mask library designed to format user input in a controlled way.
- Key Features:
- Lightweight (~3 KB gzipped) with no dependencies.
- Supports Vanilla JS, Vue 2/3, Alpine.js, and Svelte (Svelte support added in v3).
- Works with both native and custom input elements.
- Offers customizable tokens with modifiers, transform functions, and hooks.
- Includes a number mask mode for easy money/currency formatting.
- Supports dynamic, reversed, and eager masks.
- Target Audience: Developers needing lightweight input masking for forms in JavaScript or frameworks like Vue, Alpine.js, or Svelte.
- Inspiration: Inspired by libraries like vue-the-mask and jQuery Mask Plugin .
- Documentation: Available at Maska Docs & Demo .
- License: MIT.
maskinput-maskvuejavascriptinputalpinejssvelteinputmask
Author
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button