Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 232 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 232 Bytes

format-phone

Convert phone number into human readable format

Usage

import formatPhone from "@octabytes/format-phone";

formatPhone("923321234567"); // +92 332-1234567
formatPhone("16505551234"); // 1 (650) 555-1234