# angular-ics-generator

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

Latest version **1.0.11** (published 2024-04-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-ics-generator
pnpm add angular-ics-generator
yarn add angular-ics-generator
bun add angular-ics-generator
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.11 |
| Published | 2024-04-11 |
| First published | 2020-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 18.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Daniel Ickes |
| Maintainers | idaniel |

## Links

- npm: https://www.npmjs.com/package/angular-ics-generator
- Repository: https://github.com/ickesdaniel/angular-ics-generator
- Homepage: https://github.com/ickesdaniel/angular-ics-generator#readme
- Issues: https://github.com/ickesdaniel/angular-ics-generator/issues
- npm.io page: https://npm.io/package/angular-ics-generator

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.3.0

## Recent versions

- 1.0.11 (latest) — 2024-04-11
- 1.0.10 — 2024-04-11
- 1.0.9 — 2023-06-30
- 1.0.8 — 2023-06-30
- 1.0.7 — 2023-06-30
- 1.0.6 — 2023-04-11
- 1.0.5 — 2023-04-06
- 1.0.4 — 2023-04-05
- 1.0.3 — 2023-01-25
- 1.0.2 — 2023-01-25
- 1.0.1 — 2023-01-25
- 1.0.0 — 2023-01-25
- 0.0.2 — 2020-08-02
- 0.0.1 — 2020-08-02

## README

# 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

---
_Source: https://npm.io/package/angular-ics-generator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
