2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-24 14:04:08 +03:00
Files
maska/README.md
T
2024-06-02 16:49:41 +03:00

49 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<p align="center">
<a href="https://beholdr.github.io/maska/"><img src="https://beholdr.github.io/maska/maska.svg"></a>
</p>
<p align="center">
Simple zero-dependency input mask.
</p>
<p align="center">
<a href="https://www.npmjs.com/package/maska"><img src="https://img.shields.io/npm/v/maska"></a>
<a href="https://bundlephobia.com/package/maska"><img src="https://img.shields.io/bundlephobia/minzip/maska"></a>
<a href="https://github.com/beholdr/maska/actions/workflows/build.yml"><img src="https://github.com/beholdr/maska/actions/workflows/build.yml/badge.svg"></a>
<a href="https://github.com/beholdr/maska"><img src="https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/beholdr/7f2a04de5e494f9a3820832520ee2562/raw/badge.json"></a>
</p>
<h3 align="center">
<a href="https://beholdr.github.io/maska/"><b>Documentation & demo</b></a>
</h3>
# 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
- Dynamic, reversed and eager masks
## Whats new in v3 🎉
- Integrations with Alpine.js and Svelte
- Number mask mode
- 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)