Generate Event Calendar Links For Google, Yahoo And Outlook – calendar-link

Category: Date & Time , Javascript | April 17, 2021
Author:AnandChowdhary
Views Total:1,951 views
Official Page:Go to website
Last Update:April 17, 2021
License:MIT

Preview:

Generate Event Calendar Links For Google, Yahoo And Outlook – calendar-link

Description:

The calendar-link JavaScript library automatically generates calendar links from events you provide so that you can add the events to the Google Calendar, Yahoo Calendar, Microsoft Outlook, Office 365, and icalendar.

Full Documentation Here.

Basic usage:

Install & import the calendar-link.

# NPM
$ npm install calendar-link --save
import { google, outlook, office365, yahoo,  ics } from "calendar-link";

Or directly include the UMD version on the webpage.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.min.js"></script>

Define the event information as follow:

const event = {
      start: "2019-12-29",
      end: "2019-12-31",
      duration: [1, "day"],
      title: "Anand birthday",
      description: "Get ready for the party of your life!",
      location: "Internet",
      busy: true,
      guests: [
        "[email protected]",
        "[email protected]"
      ]
};

Generate calendar links:

calendarLink.google(event); 
calendarLink.outook(event); 
calendarLink.yahoo(event);
calendarLink.office365(event);
calendarLink.ics(event);

Changelog:

v2.1.1 (04/17/2021)

  • Bugfix

v2.1.0 (04/16/2021)

  • Deploy new UMD/ES modules

v2.0.16 (03/08/2021)

  • Dependency updates

v2.0.15 (03/01/2021)

  • Dependency updates

v2.0.14 (02/22/2021)

  • Dependency updates

v2.0.13 (02/15/2021)

  • Dependency updates

v2.0.12 (02/08/2021)

  • Dependency updates

v2.0.11 (02/01/2021)

  • Dependency updates

v2.0.10 (01/24/2021)

  • Dependency updates

v2.0.9 (01/18/2021)

  • Dependency updates

v2.0.8 (01/11/2021)

  • Dependency updates

v2.0.7 (01/03/2021)

  • Dependency updates

v2.0.6 (12/28/2020)

  • Dependency updates

v2.0.5 (12/20/2020)

  • Dependency updates

v2.0.4 (12/12/2020)

  • Dependency updates

v2.0.3 (12/07/2020)

  • Dependency updates

v2.0.2 (11/30/2020)

  • Dependency updates

v2.0.1 (11/23/2020)

  • Dependency updates

v2.0.0 (10/17/2020)

  • Bug fixes

v1.3.1 (09/01/2020)

  • Updated package

v1.2.5 (05/19/2020)

  • Use new Outlook URL
  • Supports for Office365 Links

v1.2.4 (09/10/2019)

  • Update ICS exporter to encode reserved chars

v1.2.2 (09/05/2019)

  • Support for all-day events

v1.1.0 (05/29/2019)

  • Support for all-day events

You Might Be Interested In:


Leave a Reply