I noticed that the vcf module was a bit outdated, and took a quick stab at updating it.
The only things in need of change (as far as I can see) were the property names,
as they are now automatically dash-cased and should be written in camel-case.
Module Changes
Other changes since 0.2.0
Fixes:
Fix trim empty lines in .normalize()
Fix missing return in .get()
Parse JSON in .fromJSON(), if necessary
Fix trim empty lines in .parse()
Fix regex pattern to not match values
Fix parsing BEGIN/END
Fix rendering empty properties with undefined as value
Hello, hello
I noticed that the
vcf
module was a bit outdated, and took a quick stab at updating it.The only things in need of change (as far as I can see) were the property names, as they are now automatically dash-cased and should be written in camel-case.
Module Changes
Other changes since
0.2.0
Fixes:
.normalize()
.get()
.fromJSON()
, if necessary.parse()
BEGIN
/END
undefined
as valueAPI:
.toJCard([version='4.0'])
.setProperty()
vCard.parseMultiple()
vCard.format()
,vCard#toString()
vCard.fromJSON()
,Property.fromJSON()