Registry / utility / global-phone

global-phone

JSON →
library1.0.1rbrubygemsunverified

Parses, validates, and formats international phone numbers using Google's libphonenumber data.

gem install global_phone
INSTALL
IMPORT
SIG · GLOBAL-PHONE
G
global-phone
utilityrubyv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GlobalPhone
require 'global_phone'

Parse and validate a US phone number.

require 'global_phone' number = GlobalPhone.parse('+1 650-253-0000') puts number.valid?
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
global-phone — gem install global-phone · libregistry