create-phone-number is a JavaScript package that provides a function for generating a formatted phone number from an array of digits. Given an array of 10 digits, the function creates a string in the format (XXX) XXX-XXXX, where X represents a digit from
published version 1.0.3, 2 years ago