GithubHelp home page GithubHelp logo

jbenner-radham / jcard-to-vcard Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 622 KB

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

License: MIT License

JavaScript 100.00%
vcard jcard cli converter json

jcard-to-vcard's Introduction

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.

jcard-to-vcard's People

Contributors

jbenner-radham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jcard-to-vcard's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.