phone-formatter
JSON →A lightweight Node.js library for parsing and formatting phone numbers. Current stable version is 0.0.4 (last updated 2013). It provides two simple methods: normalize() to strip formatting from phone numbers, and format() to output phone numbers in a custom format using "N" placeholders. It can handle many US-centric formats but has limited international support. The library is minimal and has no external dependencies.
Resources
packagenode-phone-formatter ↗
API endpoints
full doc /v1/registry/node-phone-formatter