Skip to content

Is there any way to format US number like international but keep braces ? #424

@AndrewEastwood

Description

@AndrewEastwood

Just a silly question..

// Format number in the international format.
console.log(phoneUtil.format(number, PNF.INTERNATIONAL));
// => +1 202-456-1414

so there 202 goes without braces, but I want them to be added... and keep +1 also, and the result would be like this: +1 (202)-456-1414

Does this lib have anything like that?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions