vcard-json

0.5.2 • Public • Published

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i vcard-json

    Weekly Downloads

    15

    Version

    0.5.2

    License

    MIT

    Last publish

    Collaborators

    • selliott