{"repo":"enesser/vCards-js","free":true,"listed":false,"github":"https://github.com/enesser/vCards-js","clone":"git clone https://github.com/enesser/vCards-js.git","description":"Create vCards to import contacts into Outlook, iOS, Mac OS, and Android devices from your website or application.","language":"JavaScript","stars":440,"topics":["vcard","javascript","vcards-js","outlook","android","ios","react","react-native"],"license":"MIT","category":"mobile-apps","readme_excerpt":"vCards JS ===== Create vCards to import contacts into Outlook, iOS, Mac OS, and Android devices from your website or application. Install Usage Below is a simple example of how to create a basic vCard and how to save it to a file, or view its contents from the console. Basic vCard On the Web You can use vCards JS on your website. Below is an example of how to get it working on Express 4. Embedding Images You can embed images in the photo or logo field instead of linking to them from a URL using base64 encoding. Note on Samsung devices and embedded images: Some Samsung devices fail to import a vCard that contains an embedded (base64) image unless the image value is followed by a blank line. That blank line is part of the vCard 2.1 specification but is not permitted by the 3.0 (RFC 2426) and 4.0 (RFC 6350) grammars, so vcards-js only emits it for 2.1. If you embed images and need them to import on those devices, set vCard.version = '2.1' . Date Reference MDN reference on how to use the Date object for birthday and anniversary can be found at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global Objects/Date. Complete Example The following shows a vCard with everything filled out. Multiple Email, Fax, & Phone Examples email , otherEmail , cellPhone , pagerPhone , homePhone , workPhone , homeFax , workFax , otherPhone all support multiple entries in an array format. Examples are provided below: Apple AddressBook Extensions You can mark as a contact as an organi","default_branch":null,"files":null,"tree":[],"storefront":"/r/enesser","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/enesser/vCards-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}