maska
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-beta2 • Public • Published

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
  • Dynamic, reversed and eager masks

What’s new in v3 🎉

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

Source of Inspiration 💡

License 📄

MIT

Dependencies (0)

    Dev Dependencies (21)

    Package Sidebar

    Install

    npm i maska

    Weekly Downloads

    134,707

    Version

    3.0.0-beta2

    License

    MIT

    Unpacked Size

    54.5 kB

    Total Files

    19

    Last publish

    Collaborators

    • beholdr