{"library":"node-phone-formatter","type":"library","category":null,"description":"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.","language":"javascript","status":"deprecated","version":"0.0.4","tags":["javascript","phone","formatter","format","normalize","normalizer"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install node-phone-formatter","imports":["const phoneFormatter = require('phone-formatter');","phoneFormatter.normalize('212.555.1212');","phoneFormatter.format('2125551212', '(NNN) NNN-NNNN');"]},{"cmd":"yarn add node-phone-formatter","imports":[]},{"cmd":"pnpm add node-phone-formatter","imports":[]}],"homepage":"https://github.com/marchah/node-phone-formatter","github":"git://github.com/marchah/node-phone-formatter","docs":null,"changelog":null,"pypi":null,"npm":"node-phone-formatter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}