angular-icalendar
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

Build Status npm version

angular-icalendar

Parser for iCalendar written for Angular. This package is under development and should not be used in production.

Dependencies

  • Angular (Tested with Angular v7)
  • moment (Tested with Moment v2.24.0)

Installation

Run npm install angular-icalendar to install.

Usage

In your xxx.module.ts file :

import { AngularIcalendarModule } from 'angular-icalendar';
...
@NgModule({
  imports: [
    ...,
    AngularIcalendarModule,
    ...
  ],

In your xxx.component.ts file :

import { IcsParserService } from 'angular-icalendar';
...
export class CalendarsComponent implements OnInit {

  constructor(
    private icsParser: IcsParserService
  ) {}

  sampleFunction(): void {
    let parsedCal = this.icsParser.parseICS(ics_string);
  }

Contributing

Feel free to create pull request.

Package Sidebar

Install

npm i angular-icalendar

Weekly Downloads

14

Version

0.0.12

License

none

Unpacked Size

228 kB

Total Files

26

Last publish

Collaborators

  • godardth