meta-data-vcard
v1.0.0
Published
Create vCard from data tags in html
Downloads
3
Readme
meta-data-vcard
Create vCards to import contacts into Outlook, iOS, Mac OS, and Android devices from your website using data properties.
Install
npm install meta-data-vcard --save
Usage
Below is a simple example of how to use. An working example is on jckimble.com
Basic vCard
import vCard from 'meta-data-vcard';
//create a new vCard
var vcard = new vCard();
//get string
console.log(vcard.String())
//get data url
console.log(vcard.toDataURL())
Testing
You can run the vCard unit tests via npm
:
npm test
Contributions
Contributions are always welcome!
Donations
License
Copyright (c) 2022 James C Kimble