📝
article
rubygems.org
·
July 11, 2026
PicoPhone: a fast native wrapper around libphonenumber
I just published pico_phone ( source ), a thin Ruby wrapper around Google’s libphonenumber C++ library via Rice . It’s the same engine Android’s dialer uses, so you get accurate parsing, validation, and formatting for phone numbers from any country: national/international/E.164 formats, area code and local number extraction, type detection (mobile, toll-free, etc.), vanity number conversion, short-number/emergency-number lookups, and more.
Read on rubygems.org →