NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #1953 most downloaded on npm
A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
Latest stable
1.13.17
Last release 9 days ago
19 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Most releases are documented
notes for 38 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
460 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Updated metadata to version 9.0.44:
Updated metadata to version 9.0.43:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Updated metadata to version 9.0.41:
Updated metadata to version 9.0.40:
Updated metadata to version 9.0.39:
Updated metadata to version 9.0.38:
Updated metadata to version 9.0.37:
Updated metadata to version 9.0.36:
Updated metadata to version 9.0.35:
Updated metadata to version 9.0.34:
Updated metadata to version 9.0.33:
Updated metadata to version 9.0.32:
Converted any "tagged" types back to simple strings. Originally, some developers lobbied the use of so-called "tagged" types in this package in order
This project publishes no release notes. Between v1.13.3 and v1.13.4 there were 11 commits, 10 of them substantive:
This project publishes no release notes. Between v1.13.3 and v1.13.4 there were 11 commits, 10 of them substantive:
validatePhoneNumberLength() readmevalidatePhoneNumberLength() readmeAsYouType.validateLength().Updated metadata to version 9.0.31:
This project publishes no release notes. Between v1.13.1 and v1.13.2 there were 3 commits, 2 of them substantive:
This project publishes no release notes. Between v1.13.1 and v1.13.2 there were 3 commits, 2 of them substantive:
isPossible() vs isValid()This project publishes no release notes. Between v1.13.0 and v1.13.1 there were 2 commits, 1 of them substantive:
This project publishes no release notes. Between v1.13.0 and v1.13.1 there were 2 commits, 1 of them substantive:
…NumberType type (which is now considered deprecated) except for undefined value.
Merged a pull request by Matt d'Entremont that adds ES6-only versions of min/max/mobile/core exports.
The new exports are:
min — libphonenumber-js/min/es6max — libphonenumber-js/max/es6mobile — libphonenumber-js/mobile/es6libphonenumber-js/core/es6The bundle size reduction is roughly 37 KB raw and 3.8-4.1 KB gzipped.
| legacy raw | modern raw | legacy gzip | modern gzip
min | 177,666 B | 140,563 B | 42,081 B | 38,223 B
max | 251,327 B | 214,224 B | 62,690 B | 58,750 B
mobile | 193,117 B | 156,014 B | 46,712 B | 42,682 B
core | 93,076 B | 56,158 B | 22,308 B | 18,223 B
Updated libphonenumber-metadata-generator package. No functional changes, just cosmetics: renamed some API methods and parameters.
(TypeScript) Added a new exported type PhoneNumberType, which is same as the old exported NumberType type (which is now considered deprecated) except for undefined value.
(TypeScript) Added comments and absent properties in MetadataJson interface.
Updated metadata to version 9.0.30:
Updated metadata to version 9.0.29:
Updated metadata to version 9.0.27:
Updated metadata to version 9.0.26:
Updated metadata to version 9.0.25:
Updated metadata to version 9.0.25:
Nothing published for this version
Updated metadata to version 9.0.23:
Updated metadata to version 9.0.22:
Nothing published for this version
Updated metadata to version 9.0.21:
Merged Louis Boulagnon's fix: parse('...') instanceof PhoneNumber check now works correctly.
parse('...') instanceof PhoneNumber check now works correctly.Merged Endy Gower's fix: findPhoneNumbersInText() now correctly finds phone numbers that're separated by a / character. Example: 651-234-2345/332-445-
findPhoneNumbersInText() now correctly finds phone numbers that're separated by a / character. Example: 651-234-2345/332-445-1234.Updated metadata to version 9.0.19:
Nothing published for this version
Nothing published for this version
Updated metadata to version 9.0.18:
Updated metadata to version 9.0.17:
Updated metadata to version 9.0.16:
Updated metadata to version 9.0.15:
Updated metadata to version 9.0.14:
Updated metadata to version 9.0.14:
Nothing published for this version
(miscellaneous) Updated metadata generator: fixed an error message when a developer attempts to generate custom metadata and the files are not found i
Updated metadata to version 9.0.14:
Updated metadata to version 9.0.13:
Nothing published for this version
Updated metadata to version 9.0.12:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added an export of PhoneNumber class, as suggested by Jan Vincent Liwanag in his pull request.
PhoneNumber class, as suggested by Jan Vincent Liwanag in his pull request.Nothing published for this version
One column per quarter.