Categories: CSSScriptWeb Design

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

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, Microsoft Teams, AOL, Office 365, and icalendar.

Full Documentation Here.

See Also:

Basic
Sponsored
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/calendar-link@2.7.0/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: [
        "friend@example.com",
        "coworker@oswaldlabs.com"
      ]
};

Generate calendar links:

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

Changelog:

v2.9.0 (05/19/2025)

  • Set ics PRODID correctly
  • Bugfixes

v2.8.0 (12/23/2024)

  • Add status X-MICROSOFT for allDay support

v2.7.0 (07/31/2024)

  • Add Microsoft Teams Calendar Event Generation Feature

v2.6.0 (09/30/2023)

  • Update

v2.5.1 (07/19/2023)

  • Fix ICS file generation with CLRF and absent fields

v2.5.0 (07/12/2023)

  • Update

v2.4.0 (10/22/2022)

  • Add support for local time in Outlook and Office365

v2.3.1 (10/20/2022)

  • Fixed missing RRULE prefix for google

v2.3.0 (10/20/2022)

  • Supports Recurring events

v2.2.0 (05/16/2021)

  • New release

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)

Sponsored
  • 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

The post Generate Event Calendar Links For Google, Yahoo And Outlook – calendar-link appeared first on CSS Script.

rssfeeds-admin

Share
Published by
rssfeeds-admin

Recent Posts

TA453 and TA473 Drive Iran War-Themed Phishing Across The Middle East

The conflict around Iran is now shaping cyber espionage across the region. Since the start…

37 minutes ago

Authorities Shut Down Malicious Proxy Network Used to Spread Malware

A coordinated international law enforcement operation has dismantled a large malicious proxy service known as…

38 minutes ago

PowerShell and PsExec Used To Steal Data Before INC Ransomware Attack

Cybersecurity researchers at Huntress recently observed threat actors deploying INC ransomware following a sophisticated data…

38 minutes ago

Handala Expands Destructive Cyber Operations Beyond Israeli Targets

A rising wave of destructive wiper attacks is currently threatening organizations across the United States…

38 minutes ago

Multi-Stage Remcos RAT Campaign Hides Behind JavaScript and PowerShell

A new fileless malware campaign is showing how cybercriminals are changing their methods to stay…

38 minutes ago

Ninja’s star Creami ice cream maker is on sale for $169

Ninja’s Creami 5‑in‑1 Ice Cream lets you make everything from sorbet to smoothie bowls. |…

43 minutes ago

This website uses cookies.