{"library":"phone-formatter","type":"library","category":null,"description":"Phone-formatter is a minimal Node.js library (v0.0.2, last updated 2013) for normalizing and formatting US-centric telephone numbers. It provides two methods: normalize() strips non-digits and leading country codes, returning 10 digits; format() renders a 10-digit string into arbitrary formats using 'N' placeholders. The library is simple but unmaintained, lacks international support, and has no TypeScript types, testing, or active development. It is suitable for legacy projects only.","language":"javascript","status":"abandoned","version":"0.0.2","tags":["javascript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install phone-formatter","imports":["const phoneFormatter = require('phone-formatter');","phoneFormatter.normalize('(212) 555-1212');","phoneFormatter.format('2125551212', '(NNN) NNN-NNNN');"]},{"cmd":"yarn add phone-formatter","imports":[]},{"cmd":"pnpm add phone-formatter","imports":[]}],"homepage":"https://github.com/stevekinney/node-phone-formatter","github":"git://github.com/stevekinney/node-phone-formatter","docs":null,"changelog":null,"pypi":null,"npm":"phone-formatter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}