FindSoftware

libphonenumber-js

JavaScript and TypeScript library for parsing, formatting and validating personal phone numbers, rewritten from Google's libphonenumber.

libphonenumber-js parses, formats and validates personal phone numbers in JavaScript and TypeScript. It is a rewrite of Google’s libphonenumber and reuses Google’s metadata. The package ships several metadata sets, min, max, mobile and a custom one, so a project can choose the set that matches its bundle size and validation needs.

Worth knowing

The primary repository is on GitLab, and the GitHub repository is a backup.

Identity

Status
Active
Maintainer
catamphetamine3
Maintained by
Individual
First release
20164

Rendering and deploy

Runs as
In the browser2
Install with
npm, cdn2

Releases

Current major version
16
Last release
2026-11-104

Adoption

GitHub stars
3,0045
npm downloads a week
41,280,0388
Contributors
317
Dependent repositories
44,5369
Dependent packages
1,0259

Why these figures do not compare

Sources

  1. 2026-11-16: links
    catamphetamine.gitlab.io/libphonenumber-js/
  2. 2026-11-16: links, Categories, Runs as, Install with
    github.com/catamphetamine/libphonenumber-js/blob/master/README.md
  3. 2026-11-16: Maintainer
    github.com/catamphetamine/libphonenumber-js/blob/master/LICENSE
  4. 2026-11-16: First release, Last release
    registry.npmjs.org/libphonenumber-js
  5. 2026-11-16: Written in, License, GitHub stars
    api.github.com/repos/catamphetamine/libphonenumber-js
  6. 2026-11-16: Current major version
    registry.npmjs.org/libphonenumber-js/latest
  7. 2026-11-16: Contributors
    api.github.com/repos/catamphetamine/libphonenumber-js/contributors?per_page=1
  8. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/libphonenumber-js
  9. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/libphonenumber-js

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON