# ruimarinho/google-libphonenumber

The up-to-date and reliable Google's libphonenumber package for node.js.

Repository: https://github.com/ruimarinho/google-libphonenumber
Canonical: https://ross.abutalabs.com/products/google-libphonenumber
Homepage: https://ruimarinho.github.io/google-libphonenumber
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: libphonenumber, phone, parser, formatter
Last push: 2026-08-11T04:31:25+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 95, longevity 100
- inputs: {"age_days": 4321, "days_push": 22, "days_rel": 34, "gap_med": 0.0, "n_releases_24m": 7}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1485, forks 154 (observed 2026-08-28T04:04:51.471029+00:00)

## What it is
A zero-dependency Node.js wrapper around Google's libphonenumber library for parsing, formatting, storing, and validating international phone numbers. It makes the Closure-compiled JavaScript port of libphonenumber easy to require and use in Node.js projects.

## Use cases
- validate international phone numbers in a node.js app
- parse raw phone number strings into country code and national number
- format phone numbers as E.164 or RFC3966
- standardize user-entered phone numbers before storing them
- look up carrier and region metadata for a phone number
- normalize phone numbers for SMS sending

## When to choose
- you need Google's libphonenumber functionality in Node.js without fighting the Closure library
- you want a zero-dependency, regularly updated phone number library
- you need reliable international phone parsing, formatting, and validation server-side

## When to avoid
- you are not on Node.js (use the official libphonenumber ports for Java, C++, or the browser directly)
- you only need lightweight country-code validation and want a smaller library
- you need TypeScript types out of the box (they live in a separate @types package)

## Facets
- artifact type: library
- maturity: active
- function: parser, serialization, developer-tools
- domain: developer-tools, web-development, backend
- platform: -
- tags: phone-numbers, libphonenumber, e164, validation, formatting, zero-dependencies, nodejs, javascript

## Member repositories
- ruimarinho/google-libphonenumber (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:51.471029+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-30T04:33:57.397412+00:00, confidence not recorded.
  - readme: https://github.com/ruimarinho/google-libphonenumber (fetched 2026-08-28T04:04:51.471029+00:00, sha 5d2b8016b2b0)
  - homepage: https://ruimarinho.github.io/google-libphonenumber (fetched 2026-08-29T11:40:38.881925+00:00, sha f39286b78a4a)
  - registry_npm: https://registry.npmjs.org/google-libphonenumber (fetched 2026-08-29T11:40:38.891172+00:00, sha fc45d396c8da)
- Data as of 2026-08-30T08:39:29.467469+00:00.
