Changelog
v4.1.2
breakdownWithFormat
functionpinet
to v1.2.1Changelog
v4.1.1
isValid
function in favor of isValidWithFormat
c8
packageChangelog
v4.1.0
normalize
function
normalize('555.444.3333 x 123') // => '5554443333x123'
vs uglify('555.444.3333 x 123') // => 5554443333123
validate
function
333-444-5555
comes back valid but 444-5555
is invalid to this functionisValidWithFormat
function
validate
function for an extra step of validationfindSeparators
function
breakdownWithFormat
function
breakdown
but follows a strict format provided by the user to breakdown the number into an objectPhone-fns
is no longer dependant on Kyanite
and is dependency free!isValid
description to explain that it mostly focused on NANP numbersbreakdown
description to better explain that it's main focus is NANP numbers and its gachas*.spec.js
instead of just *.js
Changelog
v4.0.1
isValid
and breakdown
Changelog
v4.0.0
import phoneFns from 'phone-fns'
--> import * as phoneFns from 'phone-fns'
import { isValid } from 'phone-fns'
Kyanite v2.0.1
Changelog
v3.2.3
format
can now take in Number
type phone numbersChangelog
v3.2.1
Changelog
v3.1.0
format
s performance and broke it down to a more intelligent functionformat
s example