# NepipenkoIgor/ngx-mask

Angular Plugin to make masks on form fields and html elements.

Repository: https://github.com/NepipenkoIgor/ngx-mask
Canonical: https://ross.abutalabs.com/products/ngx-mask
Homepage: https://nepipenkoigor.github.io/ngx-mask/
Language: TypeScript
License: MIT
License Family: permissive
Topics: angular, input-mask, typescript, web, ng, mask, ngx-mask, ngx, decimals, pipe, character, dot-separator, percent, sufix, decimals-enter, eparator, symbol, special-characters, mask-options, input
Last push: 2026-08-08T01:54:55+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 93, longevity 100
- inputs: {"age_days": 3631, "days_push": 26, "days_rel": 44, "gap_med": 1.5, "n_releases_24m": 37}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1242, forks 304 (observed 2026-08-28T04:04:06.266838+00:00)

## What it is
ngx-mask is an Angular library providing a standalone directive and pipe for input masking in form fields and HTML elements. It supports custom patterns, number formatting, dates, and works with Reactive Forms, template-driven forms, and Signal Forms.

## Use cases
- mask phone number inputs in angular forms
- format currency with thousand separators in input fields
- validate date input masks in angular
- apply custom input patterns like CPF/CNPJ
- mask form fields in zoneless angular apps
- format percent and decimal inputs

## When to choose
- you are building Angular applications and need input masking
- you need masks that work with Reactive Forms, template-driven, and Signal Forms
- you want a lightweight, dependency-free masking solution with SSR and zoneless support

## When to avoid
- you are not using Angular
- you need masking for plain JavaScript or other frameworks like React or Vue
- you need fully dynamic masking logic beyond pattern-based masks

## Facets
- artifact type: library
- maturity: active
- function: form-handling, ui-components, frontend-framework
- domain: web-development, frontend, developer-tools
- platform: cross-platform
- tags: angular, input-mask, directive, typescript, reactive-forms, signal-forms, ssr, zoneless, web-server, nodejs

## Member repositories
- NepipenkoIgor/ngx-mask (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:06.266838+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-30T05:08:22.942904+00:00, confidence not recorded.
  - readme: https://github.com/NepipenkoIgor/ngx-mask (fetched 2026-08-28T04:04:06.266838+00:00, sha 4cc43ea9f42d)
  - homepage: https://nepipenkoigor.github.io/ngx-mask/ (fetched 2026-08-29T12:20:12.753194+00:00, sha 195bb32f45a3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
