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.
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →
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
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 missing getNumberTypeCustom es6 export
getNumberTypeCustom es6 exportNothing published for this version
Removed .valid from "as you type" formatter because it wasn't reliable (gave false negatives). Use isValidNumber(value) for phone number validation in
.valid from "as you type" formatter because it wasn't reliable (gave false negatives). Use isValidNumber(value) for phone number validation instead.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed a bug when "as you type" formatter incorrectly formatted the input using non-matching phone number formats
Nothing published for this version
Nothing published for this version
Loosened national prefix requirement when parsing (fixed certain Brazilian phone numbers parsing)
Nothing published for this version
Added more strict validation to isValidNumber
isValidNumber
getNumberTypeNow exporting getNumberType function
getNumberType functionNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Removed libphonenumber-js/custom.es6 exported file: now everything should be imported from the root package in ES6-capable bundlers (because tree-shak
libphonenumber-js/custom.es6 exported file: now everything should be imported from the root package in ES6-capable bundlers (because tree-shaking actually works that way)
parse, format and isValidNumber are not bound to custom metadata: it's passed as the last argument instead. And custom asYouType is now not a function — instead, asYouType constructor takes an additional metadata argumentNothing published for this version
Nothing published for this version
* Fixed update-metadata utility
update-metadata utilityNothing published for this version
Nothing published for this version
Added national prefix check for parse and isPhoneValid
parse and isPhoneValidA bit more precise valid flag for "as you type" formatter
valid flag for "as you type" formatterNothing published for this version
Nothing published for this version
Added metadata update bin command for end users (see README)
bin command for end users (see README)
Nothing published for this version
Added the ability to use custom-countries generated metadata as a parameter for the functions exported from this library
Small fix for "as you type" to not prepend national prefix to the number being typed
One column per quarter.