/ical-date-parser

Parse a stringly typed iCal date as a native JS date object.

Primary LanguageJavaScript

ical-date-parser

Parse a stringly typed iCal date as a native JS date object.

Circle CI Coverage Status

Installation

$ npm install ical-date-parser

Usage

import iCalDateParser from 'ical-date-parser';
iCalDateParser('20140422T233000Z');

Development

Install dependencies:

$ npm install

Run the example app at http://localhost:8080:

$ npm run example

Run tests using jest:

$ npm test

Run tests and watch for code changes:

$ npm run test:watch

License

MIT