2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-17 19:21:21 +03:00

chore: update README for v3

This commit is contained in:
Alexander Shabunevich
2024-05-12 22:50:43 +03:00
parent c24ece2365
commit 3676e771f0
+10 -14
View File
@@ -3,7 +3,7 @@
</p>
<p align="center">
Simple zero-dependency input mask for Vue 2/3 or vanilla JS.
Simple zero-dependency input mask.
</p>
<p align="center">
@@ -25,22 +25,18 @@ Do you like **Maska**? Please support me via [Boosty](https://boosty.to/beholdr)
## Features ✨
- No dependencies and small size: ~2.5 Kb gziped
- Works with any native input
- Ability to define custom tokens
- No dependencies and small size: ~3 Kb gziped
- Vanilla JS version + Vue 2/3, Alpine.js, Svelte integrations
- Works with native and custom inputs
- Custom tokens with modifiers, transform functions and hooks
- Number mask mode
- Dynamic, reversed and eager masks
- Token modifiers, transform functions and hooks
## Whats new in v2 🎉
## Whats new in v3 🎉
- 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
- Integrations with Alpine.js and Svelte
- Number mask mode
- Other small improvements and fixes
## Source of Inspiration 💡