Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @nickcis/ical-generator with all npm packages installed. Try it out:

'use strict'; const ical = require('ical-generator'); const moment = require('moment'); const cal = ical({domain: 'localhost'}); // overwrite domain cal.domain('example.com'); const event = cal.createEvent({ start: moment().add(1, 'hour'), end: moment().add(2, 'hours'), summary: 'Example Event', description: 'It works ;)', organizer: 'Organizer\'s Name <organizer@example.com>', url: 'https://example.com' }); // update event's description event.description('It still works ;)'); console.log(cal.toString());

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@nickcis/ical-generator v1.6.0-20190322194000

ical-generator is a small piece of code which generates ical calendar files

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free