phone-fns
Advanced tools
Changelog
v1.0.0
v1.0.0 is almost a total re write of how the library functions from v0.3.3 it is advised you migrate with caution
findLocal
functiongetCode
functiongetCountries
functiongetCountryCode
functioncallingCodes
identical
to match
find
parameters have been rotatedphoneFns
as a function and provide a country code to create an instance around that country code, or not for only base phone number functionalityformat
function is now curriedfind
function is curried as wellbreakdown
function to be a little more lightweightformat
function to be a bit more lightweight and functionalisValid
function to do decently better phone number validationChangelog
v0.3.3
Changelog
v0.3.2
Changelog
v0.3.1
Changelog
v0.3.0
- Consistancy Tweaks in some files
- Changed
getCode
togetCountryCode
- Notice that this now means
getCode
is depricated- This is not yet a breaking change but may be in the future (1.0.0 release probably)
- Changed
findLocal
togetCountries
- Notice that this now means
findLocal
is depricated- This is not yet a breaking change but may be in the future (1.0.0 release probably)
- Introduced webpack as the builder to help build out the public module
- This shouldn't have any large effects, if you do see an issue please let me know asap!
- Updated all dependencies
- Text Tweaks in some error messages
Changelog
v0.2.0
- Tweaks to build process
- Added ability to call functional methods individually you can do so using the following:
phone-fns/format
phone-fns/find
phone-fns/breakdown
phone-fns/identical
phone-fns/isValid
phone-fns/uglify
phone-fns/getCode
phone-fns/findLocal
phone-fns/callingCodes
- Gives back the full list of country calling codes- You can still use just
phone-fns
to get back all of the methods in anobject
- Added a minified version
phone-fns.min.js
the module points to this version by default- Renamed the file
phone-fns.umd.js
to justphone-fns.js
- Added Country Calling Codes from the Countries Repo
- Added
findLocal
function which returns the country names associated with the passed in code- Added
getCode
function which returns the country calling code from thejson
- Removed country code dashing, since it's not really a thing