# text-mask/text-mask

Input mask for React, Angular, Ember, Vue, & plain JavaScript

Repository: https://github.com/text-mask/text-mask
Canonical: https://ross.abutalabs.com/products/text-mask
Homepage: https://text-mask.github.io/text-mask/
Language: JavaScript
License: Unlicense
License Family: permissive
Topics: input-mask, inputmask, text-formatting, react, angular, vue, ember
Last push: 2025-05-26T18:32:18+00:00

## Health v2 (maintenance only)
Score: 33/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 23, release rhythm 8, longevity 100
- inputs: {"age_days": 3876, "days_push": 464, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8213, forks 815 (observed 2026-08-28T04:10:19.600069+00:00)

## What it is
Text Mask is an input mask library that conforms user input to string masks for phone numbers, dates, currency, and more. It provides wrappers for React, Angular, Ember, Vue, and vanilla JavaScript, but is no longer maintained.

## Use cases
- format phone number inputs in react
- mask date input fields
- currency input formatting
- zip code input mask
- enforce input pattern in vue forms
- input masking for plain javascript

## When to choose
- you need a tiny (<4KB) framework-agnostic input mask with wrappers for React, Angular, Vue, or Ember
- you're maintaining a legacy codebase already using Text Mask

## When to avoid
- starting a new project - the library is unmaintained and issues/PRs are not monitored
- you want active support or bug fixes - consider imaskjs, ngx-mask, or Maskito instead

## Facets
- artifact type: library
- maturity: abandoned
- function: form-handling, ui-components
- domain: frontend, web-development
- platform: browser, cross-platform
- tags: input-mask, react, angular, vue, ember, text-formatting, unmaintained, javascript

## Member repositories
- text-mask/text-mask (main) score 33

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:19.600069+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:29:32.421085+00:00, confidence not recorded.
  - readme: https://github.com/text-mask/text-mask (fetched 2026-08-28T04:10:19.600069+00:00, sha 47fe08041382)
  - homepage: https://text-mask.github.io/text-mask/ (fetched 2026-08-29T08:28:27.411709+00:00, sha beff86a7016b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
