Skip to content

๐Ÿ“… Generates URLs and downloadable ICS files for adding events to popular calendar apps.

License

Notifications You must be signed in to change notification settings

ts-irfankhan/datebook

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

A library for adding events to popular calendar apps.

It supports .ics files for iCalendar and Office Outlook, and also supports Google Calendar, Yahoo! Calendar and Outlook Online.


Code coverage Build status Dependency Status npm version npm package size


Documentation

See the full documentation โ†’

Quick Start

Installation

yarn add datebook

Example Usage

import { ICalendar } from 'datebook'

const icalendar = new ICalendar({
  title: 'Happy Hour',
  location: 'The Bar, New York, NY',
  description: 'Let\'s blow off some steam from our weekly deployments to enjoy a tall cold one!',
  start: '2020-07-04T19:00:00',
  end: '2020-07-04T23:30:00',
  recurrence: {
    frequency: 'WEEKLY',
    interval: 2
  }
})

icalendar.download()

Available Classes

Browser Support

The latest versions of all major browsers are supported.

Chrome logo Firefox logo Internet Explorer logo Edge Browser Logo Opera logo Safari logo
Yes โœ… 20+ โœ… 10+ โœ… Yes โœ… 15+ โœ… 10.1+ โœ…

About

๐Ÿ“… Generates URLs and downloadable ICS files for adding events to popular calendar apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%