2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-15 11:59:38 +03:00
Alexander Shabunevich a6833d32b4 Merge pull request #147 from killroyboy/master
allow custom escape character
2023-04-20 23:37:03 +03:00
2022-12-07 11:41:59 +03:00
2023-01-21 11:13:08 +03:00
2023-04-18 14:00:50 -06:00
2023-04-18 14:00:50 -06:00
2022-12-04 17:05:23 +03:00
2022-12-04 17:05:23 +03:00
2022-12-04 17:05:23 +03:00
2022-12-04 17:05:23 +03:00
2023-04-10 22:53:45 +03:00
2023-04-10 22:53:45 +03:00
2023-01-21 12:50:53 +03:00
2022-12-04 17:05:23 +03:00
2022-12-04 17:05:23 +03:00
2022-12-04 17:05:23 +03:00

Simple zero-dependency input mask for Vue 2/3 or vanilla JS.

Documentation & demo

Maska

Support

Do you like Maska? Please support me via Boosty.

Features

  • No dependencies and small size: ~2.5 Kb gziped
  • Works with any native input
  • Ability to define custom tokens
  • Dynamic, reversed and eager masks
  • Token modifiers, transform functions and hooks

Whats new in v2 🎉

  • Fully rewritten in TypeScript
  • Autobind to vue variable
  • Eager and reversed masking modes
  • Optonal and repeated tokens
  • Simplified syntax for custom tokens
  • Dynamic masks with custom function logic
  • Hooks for pre/post- processing
  • Ability to replace or merge custom tokens

Source of Inspiration 💡

License 📄

MIT

S
Description
No description provided
Readme 1.4 MiB
Languages
TypeScript 91.3%
Vue 6.8%
Svelte 1.6%
JavaScript 0.2%