{"id":22827476,"url":"https://github.com/olillin/iamcal","last_synced_at":"2025-04-14T03:08:38.637Z","repository":{"id":267382424,"uuid":"900402365","full_name":"olillin/iamcal","owner":"olillin","description":"Read and write .ical calendars","archived":false,"fork":false,"pushed_at":"2025-02-17T20:27:12.000Z","size":90,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T17:08:50.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/iamcal","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olillin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-08T17:26:37.000Z","updated_at":"2025-01-04T23:45:49.000Z","dependencies_parsed_at":"2025-02-17T21:25:44.858Z","dependency_job_id":"6a937bb1-d919-41e8-83f2-60b8dc7d773a","html_url":"https://github.com/olillin/iamcal","commit_stats":null,"previous_names":["olillin/iamcal"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fiamcal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fiamcal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fiamcal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fiamcal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olillin","download_url":"https://codeload.github.com/olillin/iamcal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248585338,"owners_count":21128976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T18:10:45.852Z","updated_at":"2025-04-14T03:08:38.624Z","avatar_url":"https://github.com/olillin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iamcal [![build status](https://img.shields.io/github/actions/workflow/status/olillin/iamcal/npm-test.yml?style=flat-square)](https://github.com/olillin/iamcal/actions/workflows/npm-test.yml) [![npm badge](\u003chttps://img.shields.io/npm/v/iamcal?style=flat-square\u0026color=red\u003e)](https://www.npmjs.com/package/iamcal)\n\nA library for reading, modifying and writing [ICalendar](https://en.wikipedia.org/wiki/ICalendar) files.\n\n## Installation\n\n**iamcal** can be installed from the npm registry:\n\n```console\nnpm install iamcal\n```\n\n## Getting started/Example\n\nThis code;\n\n```typescript\nimport { Calendar } from 'iamcal'\nimport { dump } from 'iamcal/io'\nimport { parseCalendar } from 'iamcal/parse'\n\nconst calendar: Calendar = await parseCalendar(`\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:example\nBEGIN:VEVENT\nSUMMARY:🎉iamcal release party\nLOCATION:Las Vegas!!\nUID:20241209T100000Z-EF79AE@example.com\nDTSTAMP:20241209T100000Z\nDTSTART:20241211T200000Z\nDTEND:20241211T230000Z\nEND:VEVENT\nEND:VCALENDAR\n`)\n\ncalendar.events().forEach(event =\u003e {\n    if (event.summary() === \"🎉iamcal release party\") {\n        event.setLocation(\"My house (budget cuts sorry)\")\n    }\n})\n\nawait dump(calendar, \"./new_calendar.ics\")\n```\n\nproduces the file `new_calendar.ics`:\n\n```icalendar\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:example\nBEGIN:VEVENT\nSUMMARY:🎉iamcal release party\nLOCATION:My house (budget cuts sorry)\nUID:20241209T100000Z-EF79AE@example.com\nDTSTAMP:20241209T100000Z\nDTSTART:20241211T200000Z\nDTEND:20241211T230000Z\nEND:VEVENT\nEND:VCALENDAR\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folillin%2Fiamcal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folillin%2Fiamcal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folillin%2Fiamcal/lists"}