Skip to content

A jCard to vCard converter with both a CLI and a programmatic module interface.

License

Notifications You must be signed in to change notification settings

jbenner-radham/jcard-to-vcard

Repository files navigation

jcard-to-vcard

npm Version GitHub License Build Status

A jCard to vCard converter with both a CLI and a programmatic module interface.

Heads Up!

This is still very much a WIP project and is not feature complete.

Install

$ yarn global add jcard-to-vcard # Or alternatively: `npm install --global jcard-to-vcard`

Usage

Programmatically

'use strict';

const fs = require('fs');
const jcardToVcard = require('jcard-to-vcard');

let source = fs.readFileSync('jcard.json').toString();
let jcard = JSON.parse(source);
let vcard = jcardToVcard(jcard);

CLI

$ jcard-to-vcard jcard.json > vcard.vcf

Testing

$ yarn test # Or alternatively: `npm test`

To-Do

  • Property Parsing
    • ADR
    • ANNIVERSARY
    • BDAY
    • BEGIN
    • CALADRURI
    • CALURI
    • CATEGORIES
    • CLIENTPIDMAP
    • EMAIL
    • END
    • FBURL
    • FN
    • GENDER
    • GEO
    • IMPP
    • KEY
    • KIND
    • LANG
    • LOGO
    • MEMBER
    • N
    • NICKNAME
    • NOTE
    • ORG
    • PHOTO
    • PRODID
    • RELATED
    • REV
    • ROLE
    • SOUND
    • SOURCE
    • TEL
    • TITLE
    • TZ
    • UID
    • URL
    • VERSION
    • XML
  • Parameter Parsing
    • ALTID
    • CALSCALE
    • GEO
    • LANGUAGE
    • MEDIATYPE
    • PID
    • PREF
    • SORT-AS
    • TYPE
    • TZ
    • VALUE
  • Refactor Codebase

Reference

License

This project is licensed under the terms of the MIT License (Expat). You can view the full license here.

About

A jCard to vCard converter with both a CLI and a programmatic module interface.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published