/vcard-json

Easily and smartly convert vcard file(s) to a JSON object for node

Primary LanguageJavaScriptMIT LicenseMIT

Easily and smartly convert vcard file(s) to a JSON object for node.

var vcard = require('vcard-json');

vcard.parseVcardFile('some-contact.vcf', function(err, data){
  if(err) console.log('oops:'+ err);
  else {
    console.log('should be good to go:\n'+ JSON.stringify(data));    
  }
});

Installation

$ npm install vcard-json