node-vcf icon indicating copy to clipboard operation
node-vcf copied to clipboard

A not so forgiving vCard / vcf parser

Results 7 node-vcf issues
Sort by recently updated
recently updated
newest added

Here is a small snippet which allows to reproduce the issue: ```js const Vcf = require('vcf') const data = `BEGIN:VCARD VERSION:4.0 NAME;PARAMETER="parameter value contains a :colon":value also contains a :colon...

bug

I'm trying to set custom type labels on my `tel` properties although they're being uppercased. Is there any reason for this? I'm setting the property with `card.add('tel', '1234567', { type:...

Hi :wave:, I'm using this excellent library with typescript, and I have a request regarding the type definitions. Currently fetching a value looks like this: ```ts // Must assert the...

Using the vCard 2.1 example at https://en.wikipedia.org/wiki/VCard, the `adr` and `label` properties are split apart, instead of the expected result of labels being a property of each address. Using a...

bug

At first specifications :P --> https://tools.ietf.org/html/rfc7095#section-3.3.1.3: > The vCard specification defines properties with structured values, for example, "GENDER" or "ADR". In vCard, a structured text value consists of one or...

bug

I've notice that when there is one value for email address and phone numbers the ouput is an Object but if they are multiple it's an Array. Should always be...

I've had to do a lot of extra parsing because `parse()` uses the `new` keyword to create what should be primitive values. I'm sure there is a good reason for...