Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beholdr/maska
Simple zero-dependency input mask for Vue, Svelte, Alpine.js and vanilla JS.
https://github.com/beholdr/maska
alpinejs input input-mask inputmask javascript mask svelte vue
Last synced: 5 days ago
JSON representation
Simple zero-dependency input mask for Vue, Svelte, Alpine.js and vanilla JS.
- Host: GitHub
- URL: https://github.com/beholdr/maska
- Owner: beholdr
- License: mit
- Created: 2019-09-25T12:23:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-28T13:29:32.000Z (24 days ago)
- Last Synced: 2024-12-10T03:05:39.876Z (12 days ago)
- Topics: alpinejs, input, input-mask, inputmask, javascript, mask, svelte, vue
- Language: TypeScript
- Homepage: https://beholdr.github.io/maska/
- Size: 1.22 MB
- Stars: 1,790
- Watchers: 12
- Forks: 71
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
- awesome - beholdr/maska - Simple zero-dependency input mask for Vue, Svelte, Alpine.js and vanilla JS. (TypeScript)
README
Simple zero-dependency input mask.
Documentation & demo# Maska
## Support ☕️
> ❤️ [Please support](https://boosty.to/beholdr) 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 💡
- [vue-the-mask](https://vuejs-tips.github.io/vue-the-mask/)
- [jQuery Mask Plugin](http://igorescobar.github.io/jQuery-Mask-Plugin/)## License 📄
[MIT](LICENSE.txt)