Module generate-vcard/experimental

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:

Example

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" } },
]
});

Index

Properties

Parameters

Generated using TypeDoc