# ng-add-to-calendar

> Angular 2+ add to calendar.

Latest version **0.3.1** (published 2020-01-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install ng-add-to-calendar
pnpm add ng-add-to-calendar
yarn add ng-add-to-calendar
bun add ng-add-to-calendar
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2020-01-16 |
| First published | 2019-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 544.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | namane Toufik |
| Maintainers | sindaban |
| Keywords | angular add to calendar, add to calendar |

## Links

- npm: https://www.npmjs.com/package/ng-add-to-calendar
- Repository: https://github.com/ToufikDev/ng-add-to-calendar
- Homepage: https://github.com/ToufikDev/ng-add-to-calendar#readme
- Issues: https://github.com/ToufikDev/ng-add-to-calendar/issues
- npm.io page: https://npm.io/package/ng-add-to-calendar

## Dependencies (1)

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

## Recent versions

- 0.3.1 (latest) — 2020-01-16
- 0.3.0 — 2020-01-10
- 0.2.5 — 2020-01-08
- 0.2.4 — 2020-01-08
- 0.2.3 — 2020-01-08
- 0.2.2 — 2020-01-08
- 0.2.1 — 2020-01-08
- 0.2.0 — 2020-01-08
- 0.1.2 — 2019-12-09
- 0.1.1 — 2019-12-09
- 0.1.0 — 2019-12-09
- 0.0.4 — 2019-12-09
- 0.0.3 — 2019-12-06
- 0.0.1 — 2019-12-06

## README

# ng-add-to-calendar

Angular 2+ add to calendar.

<!-- toc -->

- [Install](#install)
- [Usage](#usage)
- [Feedback](#feedback)

<!-- tocstop -->

## Install

```bash
npm install ng-add-to-calendar --save
```

## Usage

The basic usage scenario can be described in three steps.

### Step 1. Import the module

```typescript
import { AddToCalendarModule } from "ng-add-to-calendar";
```

### Step 2. Import the module to yours

```typescript
@NgModule({
  imports: [
    ...,
    AddToCalendarModule,
  ],
  ...
})
...
```

### Step 3. Import the module to yours

```typescript
addToCalendarData: IAddToCalendarData {
  label: string;
  title: string;
  description: string;
  location: string;
  start: Date;
  end: Date;
}
...
```

### Step 4. Use the component in your template

```html
<!-- with default markup -->
<ng-add-to-calendar [options]="addToCalendarData"></ng-add-to-calendar>
```

## Feedback

Issues and PRs are welcome. You can provide your feedback or drop us a support
request at [namane.toufik@gmail.com][email].

[mail]: mailto:namane.toufik@gmail.com

---
_Source: https://npm.io/package/ng-add-to-calendar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
