1.0.11 • Published 1 month ago

angular-ics-generator v1.0.11

Weekly downloads
16
License
MIT
Repository
github
Last release
1 month 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

1 month ago

1.0.10

1 month ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.3

1 year ago

0.0.3

2 years ago

0.0.4

2 years ago

0.0.2

4 years ago

0.0.1

4 years ago