LouisMazel / maz-ui

Vue & Nuxt library of standalone components & tools to build interfaces

Home Page:https://maz-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Export libphonenumber-js parsePhoneNumber as a util

dubKelly opened this issue · comments

Is your feature request related to a problem? Please describe.
Installing libphonenumber-js duplicates a peer dependency in the bundle

Describe the solution you'd like
export parsePhoneNumber as a util so we can display formatted phone numbers without increasing bundle size or saving formatted phone numbers to the db

Describe alternatives you've considered
Expensive refactoring or displaying less user friendly e164

Additional context
Add any other context or screenshots about the feature request here.