beholdr/maska
Simple zero-dependency input mask for Vue, Svelte, Alpine.js and vanilla JS. observed · 2026-08-28
Health v2 · maintenance only
43/100
- Activity 29
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 65
- age_days: 2534
- days_rel: 427
- days_push: 427
- n_releases_24m: 4
Adoption not part of the score
2013 stars · 78 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Maska is a small, zero-dependency input mask library for formatting text inputs (phone numbers, dates, money, etc.) in vanilla JS, Vue 2/3, Alpine.js, and Svelte. It supports custom tokens, dynamic/reversed/eager masks, and a number mask mode for money formatting.
Use cases
- format phone number input in vue
- add input mask to form field
- money formatting input mask
- mask date input in svelte
- lightweight inputmask alternative without jquery
- custom token input mask javascript
When to choose
- you need a tiny (~3 Kb) dependency-free input mask
- you use Vue, Svelte, or Alpine.js and want native integration
- you need dynamic, reversed, or eager masks or money formatting
When to avoid
- you need React or Angular integrations
- you require heavyweight masking features like international phone validation
Facets
library · maturity active
form-handling ui-components frontend web-development browser input-mask zero-dependency typescript vanilla-js form-inputs javascript vue svelte alpinejs
3 sources
- readme: https://github.com/beholdr/maska · fetched 2026-08-28 · bd84fb49aa1f
- homepage: https://beholdr.github.io/maska/ · fetched 2026-08-29 · 44136fa355b3
- registry_npm: https://registry.npmjs.org/maska · fetched 2026-08-29 · 0549c8892421
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| beholdr/maska | main | 43 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem