vcf

vcfparse

A node module for reading and parsing a vcf/vcard file

Showing:

Popularity

Downloads/wk

38

GitHub Stars

1

Maintenance

Last Commit

6yrs ago

Contributors

1

Package

Dependencies

0

Size (min+gzip)

1.3KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

vcfParse

A node module for reading and parsing a vcf/vcard file

Installation

$ npm install vcfParse

Usage

var vcf = require('vcfParse')

var path = 'path to vcf file';

vcf.readVCF(path , function (err,contactList) { });
vcf.getByName(path , NAME , PERFECT_MATCH , function (err,contactList) { });
vcf.getByTitle(path , TITLE , function (err,contactList) { });
vcf.getByEmail(path , 'EMAIL' , PERFECT_MATCH , function (err,contactList) { });

// PERFECT_MATCH (optional) == true, if you want to match the search string perfectly
// PERFECT_MATCH (optional) == false (deafult), if perfect matching not required

skeletal 'contactList' structure:

[{
N:
FN:
ORG:
TITLE:
EMAIL:
PHOTO: {
TYPE:
PHOTO:
}
TEL: [{
TYPE: []
TEL:
}]
ADR: [{
TYPE: []
ADR:
}]
}]

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100