Skip to content
I

Ics

iCalendar (ics) file generator for node.js

by adamgibbonsFree

#1793in Productivity
0In stores

Description

ics is a small JavaScript library that writes iCalendar files, the .ics format used by Apple Calendar, Google Calendar, Outlook and most oth…

Highlights

  • Creates single or multiple iCalendar events
  • Async batch creation for large event lists
  • Works in Node.js and in the browser
  • Dates as arrays or Unix timestamps, local or UTC
  • Optional alarms and calendar header

Ratings & Reviews

No ratings yet

Be the first to rate Ics.

People also visit

I

ICal

iCal-creator for PHP

Productivity
Launch
A

Add Event To Calendar Docs

Docs how to generate links to add events to online calendar services

Productivity
Launch
R

renCal

A modern desktop calendar. Built for Omarchy

Productivity
Launch
A

Add To Calendar Button

Reliably create beautiful Add to Calendar Buttons

Productivity
Launch
O

Open Web Calendar

Embed a highly customizable web calendar into your website

Productivity
Launch
F

FullCalendar

Full-sized drag & drop event calendar in JavaScript

Productivity
Launch

Ics FAQ

What is ics used for?

It generates .ics calendar files from JavaScript or Node.js code, so an app can offer an 'add to calendar' file for events such as bookings, reminders or schedules.

How do I install it?

Run npm install ics in your project. The README shows examples for CommonJS, ES modules and in-browser use.

Can it create many events at once?

Yes. createEvents writes a list of events with an optional calendar header, and createEventsAsync does the same for large batches without blocking the event loop.

What does it return?

By default each call returns an object with error and value fields, where value holds the iCalendar string when there is no error. You can also pass a callback to receive the result in Node style.

Which fields are required?

Only start is required for a single event. Other fields such as end, title, location and description are optional, and dates can be written as an array or a Unix timestamp in milliseconds.

What are the best Ics alternatives?

Popular alternatives to Ics include ICal, Add Event To Calendar Docs and renCal. See all Ics alternatives

Developer Stuff

Badges