You should always take a look at the documention

parsePhoneNumber returns …an instance of PhoneNumber class, or undefined if no phone number could be parsed…. And you can't expect that JSON.stringify(phoneNumber) will result in something that just contains a phone number.

And isPossiblePhoneNumber expects a string as parameter that is a valid phone number; the documentation states there:

This function is just a shortcut for a two-step process of "strictly" parsing a phone number and then calling .isPossible().

So what you want to do is either:

const contact_asset = "2022032034"
const phoneNumber = libphonenumber.parsePhoneNumber(contact_asset, 'US')

if (phoneNumber) {
  console.log(phoneNumber.isPossible());
}

Or

const contact_asset = "2022032034"
console.log(libphonenumber.isPossiblePhoneNumber(contact_asset, 'US'));
Answer from t.niese on Stack Overflow
🌐
npm
npmjs.com › package › libphonenumber-js
libphonenumber-js - npm
1 week ago - A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript. Latest version: 1.12.41, last published: 5 days ago. Start using libphonenumber-js in your project by running `npm i libphonenumber-js`. There are 3934 ...
      » npm install libphonenumber-js
    
Published   Mar 28, 2026
Version   1.12.41
Author   catamphetamine
🌐
npm
npmjs.com › search
libphonenumber-js - npm search
Wrapper around libphonenumber-js to provide RingCentral specific phone handling. embbnux• 1.2.0 • 2 months ago • 1 dependents • MITpublished version 1.2.0, 2 months ago1 dependents licensed under $MIT ...
🌐
npm
npmjs.com › search
libphonenumber - npm search
JavaScript port of Google's libphonenumber library for parsing, formatting, and validating international phone numbers in Node.js.
🌐
GitHub
github.com › google › libphonenumber
google/libphonenumber: Google's common Java, C++ and ...
Javascript: If you don't want to ... https://github.com/seegno/google-libphonenumber - a browserify-compatible wrapper around the original unmodified library installable via npm, which packs the Google ......
Starred by 17.9K users
Forked by 2.2K users
Languages   C++ 53.4% | Java 29.9% | JavaScript 15.8% | CMake 0.4% | C 0.2% | Closure Templates 0.1%
🌐
Catamphetamine
catamphetamine.github.io › libphonenumber-js
libphonenumber-js
A simpler and smaller rewrite of Google Android's libphonenumber library.
🌐
npm
npmjs.com › package › google-libphonenumber
google-libphonenumber - npm
January 19, 2026 - The up-to-date and reliable Google's libphonenumber package for node.js.. Latest version: 3.2.44, last published: 2 months ago. Start using google-libphonenumber in your project by running `npm i google-libphonenumber`. There are 993 other projects in the npm registry using google-libphonenumber.
      » npm install google-libphonenumber
    
Published   Jan 19, 2026
Version   3.2.44
Author   Rui Marinho
🌐
jsDelivr
jsdelivr.com › package › npm › @roundingwellos › libphonenumber-js
@roundingwellos/libphonenumber-js CDN by jsDelivr - A CDN for npm and GitHub
July 5, 2017 - A free, fast, and reliable CDN for @roundingwellos/libphonenumber-js. A simpler (and smaller) rewrite of Google Android's popular libphonenumber library
Published   Jun 01, 2017
🌐
npm
npmjs.com › package › libphonenumber-js-utils
libphonenumber-js-utils - npm
This repo is a compiled and minified version of the utilities functions from the [googlei18n's libphonenumber](https://github.com/googlei18n/libphonenumber) library. The functions are exposed to `window.intlTelInputUtils` inside browser envi.
      » npm install libphonenumber-js-utils
    
Published   Feb 11, 2019
Version   8.10.5
Find elsewhere
🌐
Js
libphonenumbers.js.org
libphonenumbers: Introduction
If you are not redirected automatically, follow this link
🌐
npm Trends
npmtrends.com › awesome-phonenumber-vs-google-libphonenumber-vs-libphonenumber-js
awesome-phonenumber vs google-libphonenumber vs libphonenumber-js | npm trends
Comparing trends for awesome-phonenumber 7.8.0 which has 602,627 weekly downloads and 707 GitHub stars vs. google-libphonenumber 3.2.44 which has 1,649,358 weekly downloads and 1,479 GitHub stars vs. libphonenumber-js 1.12.41 which has 15,017,761 weekly downloads and unknown number of GitHub stars.
🌐
Maven Repository
mvnrepository.com › artifact › org.webjars.npm › libphonenumber-js › 1.9.43
Maven Repository: org.webjars.npm » libphonenumber-js » 1.9.43
JSON Libraries · Core Utilities · Mocking · Web Assets · Annotation Libraries · HTTP Clients · Language Runtime · Logging Bridges · Dependency Injection · XML Processing · Web Frameworks · Android Platform · Concurrency Libraries · Defect Detection Metadata · Code Generators · Top Categories · Home » org.webjars.npm » libphonenumber-js » 1.9.43 ·
🌐
Snyk
security.snyk.io › snyk vulnerability database › npm
libphonenumber-js vulnerabilities | Snyk
A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
🌐
CodeSandbox
codesandbox.io › s › react-demo-libphonenumber-js-max-j25qj
react-demo-libphonenumber-js-max - CodeSandbox
September 25, 2021 - react-demo-libphonenumber-js-max by famgrs using @material-ui/core, react, react-dom, react-phone-number-input, react-scripts
Published   Sep 25, 2021
Author   famgrs
🌐
UNPKG
unpkg.com › browse › libphonenumber-js@0.4.38 › README.md
libphonenumber-js
# libphonenumber-js [![npm ...r/catamphetamine/libphonenumber-js?branch=master) A simpler (and smaller) rewrite of Google Android's famous `libphonenumber` library: easy phone number parsing and formatting in javascript....
🌐
Phrase
phrase.com › home › resources › blog › using libphonenumber for international phone numbers
Using libphonenumber for International Phone Numbers | Phrase
January 3, 2025 - Google’s open-source libphonenumber library can help us properly format phone numbers along with country codes and also validate input fields in web applications. Google has its own Clojure-based JavaScript version of the library, but we’ll be using another library, catamphetamine/libphonenumber-js, which is a simpler and smaller rewrite of Google’s libphonenumber in JavaScript.
🌐
Bundlephobia
bundlephobia.com › package › libphonenumber-js
libphonenumber-js ❘ Bundlephobia
Find the size of javascript package libphonenumber-js. Bundlephobia helps you find the performance impact of npm packages.
🌐
Qiita
qiita.com › javascript
フロントで電話番号をハイフン付きに変換する - Qiita
January 18, 2021 - Alternatives to our own versions: ...amine/libphonenumber-js - a stripped-down rewrite, about 110 KB in size - and https://github.com/seegno/google-libphonenumber - a browserify-compatible wrapper around the original unmodified library installable ...