# taiga-family/maskito

Collection of libraries to create an input mask which ensures that user types value according to predefined format.

Repository: https://github.com/taiga-family/maskito
Canonical: https://ross.abutalabs.com/products/maskito
Homepage: https://maskito.dev
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: angular, input-mask, inputmask, mask, typescript, input-formatting, text-mask, hacktoberfest
Last push: 2026-08-25T23:39:50+00:00

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

## Adoption (not part of the score)
Stars 1662, forks 50 (observed 2026-08-28T04:05:18.687463+00:00)

## What it is
Maskito is a collection of TypeScript libraries for creating input masks that force user input to conform to a predefined format such as numbers, phone numbers, dates, or credit card numbers. It has a zero-dependency framework-agnostic core with dedicated packages for Angular, React, Vue, and React Native.

## Use cases
- format phone number input as the user types
- mask credit card number input in a web form
- restrict a text field to a date format
- format currency and number inputs
- apply input masks in an Angular directive
- mask inputs in a React or Vue app
- mask contenteditable elements

## When to choose
- you need robust input masking across keyboard, paste, autofill, and mobile predictive text
- you want framework adapters for Angular, React, or Vue with a shared core
- you need SSR and Shadow DOM support
- you want ready-made configurable masks for numbers, dates, and international phones

## When to avoid
- you need masking outside the browser, e.g. server-side or CLI text processing
- your framework is not supported and vanilla DOM integration is too low-level for your needs
- you only need simple validation rather than live input formatting

## Facets
- artifact type: library
- maturity: active
- function: ui-components, form-handling, parser
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: input-mask, typescript, angular, react, vue, react-native, text-formatting, zero-dependency, web-server

## Member repositories
- taiga-family/maskito (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:18.687463+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-30T03:44:35.874026+00:00, confidence not recorded.
  - readme: https://github.com/taiga-family/maskito (fetched 2026-08-28T04:05:18.687463+00:00, sha 795933cc5720)
  - homepage: https://maskito.dev (fetched 2026-08-29T11:17:15.048438+00:00, sha bdc6a1a275b0)
  - site_page: https://maskito.dev/getting-started/maskito-libraries (fetched 2026-08-29T11:17:15.057900+00:00, sha a57079dbea7e)
  - site_page: https://maskito.dev/core-concepts/overview (fetched 2026-08-29T11:17:15.060435+00:00, sha 603ff8f79db8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
