catamphetamine/libphonenumber-js
A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 88
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3572
- days_rel: n/a
- days_push: 76
- n_releases_24m: 0
Adoption not part of the score
2991 stars · 212 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A smaller, simpler JavaScript/TypeScript rewrite of Google's libphonenumber library for parsing, validating, and formatting phone numbers. It offers selectable metadata sets to reduce bundle size compared to the official port.
Use cases
- validate phone numbers in a web form
- format phone numbers in international format
- parse user-entered phone numbers into country code and national number
- extract phone numbers from free text
- detect the country of a phone number
- reduce bundle size vs google libphonenumber javascript port
When to choose
- you need phone number parsing/formatting in JavaScript or TypeScript
- bundle size matters and the 550 kB official port is too heavy
- you need TypeScript definitions out of the box
- you need to search for phone numbers within text
When to avoid
- you need the full feature set of Google's libphonenumber including carrier or timezone metadata
- you're working outside JavaScript/TypeScript
- you need a ready-made UI input component (use react-phone-number-input instead)
Facets
library · maturity stable
parser serialization internationalization web-development frontend developer-tools browser cross-platform phone-numbers phone-number-validation phone-number-formatting libphonenumber form-validation nodejs javascript typescript
2 sources
- readme: https://github.com/catamphetamine/libphonenumber-js · fetched 2026-08-28 · 9c04918ab455
- homepage: https://catamphetamine.gitlab.io/libphonenumber-js/ · fetched 2026-08-29 · 960b29da1374
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| catamphetamine/libphonenumber-js | main | 62 |
For agents
markdown · JSON · MCP: product_card(name="catamphetamine/libphonenumber-js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem