Adds additional properties and parameters from experimental drafts. As they are not part of the official IANA spec, they will be prefixed with X- in the generated vCard. Supported additions are:
X-
IMPP
X-ABLabel
Functional / Object based
import generateVCard, { Kind } from "generate-vcard";const vCard = generateVCard({ kind: Kind.Individual, fullName: "Jane Doe", socialProfile: [ { value: "https://instagram.com/", parameters: { type: "instagram" } }, { value: "https://twitter.com/", parameters: { type: "twitter" } }, ]});
Generated using TypeDoc
Adds additional properties and parameters from experimental drafts. As they are not part of the official IANA spec, they will be prefixed with
X-
in the generated vCard. Supported additions are:IMPP
properties https://datatracker.ietf.org/doc/html/draft-daboo-vcard-service-typeX-ABLabel
property used by GMail and iOs for URL labelling https://alessandrorossini.org/the-sad-story-of-the-vcard-format-and-its-lack-of-interoperability/Example
Functional / Object based