Skip to content

Commit

Permalink
phone_number_info: new function
Browse files Browse the repository at this point in the history
  • Loading branch information
unytics committed Nov 24, 2023
1 parent 7a6c0a0 commit 803fd25
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bigfunctions/phone_number_info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ author:
avatar_url: "https://lh3.googleusercontent.com/a-/ACB-R5RDf2yxcw1p_IYLCKmiUIScreatDdhG8B83om6Ohw=s260"
description: |
Get `phone_number` `info`
such as country, isValid, etc using [`libphonenumber-js` library](https://www.npmjs.com/package/libphonenumber-js).
such as:
`options` can be `null` or can be a json with the following keys:
- `country`,
- `isValid`,
- etc
using [libphonenumber-js library](https://www.npmjs.com/package/libphonenumber-js).
Argument `options` can be `null` or can a json with the following keys:
`defaultCountry`, `defaultCallingCode` and `extract` as described in the
[library documentation](https://www.npmjs.com/package/libphonenumber-js#parsephonenumberstring-defaultcountry-string--options-object-phonenumber).
arguments:
Expand Down

0 comments on commit 803fd25

Please sign in to comment.