Phone Number Formatter

JSON →
library 1.3.0 ·javascript
verified Jun 4, 2026

A simple browser-side phone number formatter for HTML input elements. Current version 1.3.0 is stable but appears to have no recent updates. It only supports 10-digit US-style numbers and does not provide validation beyond formatting. Unlike robust libraries like libphonenumber, this package is minimal and targeted at basic input masking.