Skip to content

Latest commit

 

History

History
57 lines (50 loc) · 1.57 KB

README.md

File metadata and controls

57 lines (50 loc) · 1.57 KB


A tolerant, minimal iCalendar reader & writer for Nim 👑

nimble install ical

API reference
Github Actions Github Actions

😍 Key Features

  • Read/Write iCals, what else?

Examples

import pkg/ical
var cal = initCalendar("GOODCORP")
cal.event(now() + 1.days, now() + 2.days)
echo cal

Output:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//GOODCORP//EN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTAMP:20240412T171548
UID:cee166eb-7408-4d2f-83aa-2b1ef33f4a1a
STATUS:CONFIRMED
DTSTART:20240413
DTEND:20240414
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20240412T171548
UID:a2c0fde2-0037-4e66-b472-2263d0b1b717
STATUS:CONFIRMED
DTSTART:20240416
DTEND:20240422
END:VEVENT
END:VCALENDAR

❤ Contributions & Support

🎩 License

MIT license. Made by Humans from OpenPeeps.
Copyright © 2024 OpenPeeps & Contributors — All rights reserved.