1.0.11 • Published 7 months ago

angular-ics-generator v1.0.11

Weekly downloads
16
License
MIT
Repository
github
Last release
7 months ago

Angular .ics Generator

A simple library to create and download a basic .ics file from an Angular application.

Installing

npm install angular-ics-generator

Use versions as following 1.0.6 for Angular 13 1.0.7 for Angular 14 1.0.8 for Angular 15 1.0.9 for Angular 16

Using

Import the generator service:

import { AngularIcsGeneratorService } from 'angular-ics-generator';

Then call it like this:

const startDate = new Date();
const endDate = new Date();
this._icsService.DownloadIcs(startDate,
                endDate,
                'my event title',
                'my event description',
                `url`,
                'location',
                'My organization', // organisation is optional
                'EN', // locale is optional. EN will be used if no locale is provided
                '15'); // Optional value for minutes to set reminder. Will have no automatic reminder if not provided.

This will generate and download the .ics file. All the user will need to do is open the file and save the event in any calendar app supporting this format

License

MIT

1.0.11

7 months ago

1.0.10

7 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.3

2 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

4 years ago

0.0.1

4 years ago