{"id":22454655,"url":"https://github.com/cwlsn/ics-to-json","last_synced_at":"2025-04-05T18:11:45.678Z","repository":{"id":31867262,"uuid":"129167530","full_name":"cwlsn/ics-to-json","owner":"cwlsn","description":"📅 Convert ICS calendars (eg. Google Calendar) to an opinionated JSON format.","archived":false,"fork":false,"pushed_at":"2025-03-25T14:07:19.000Z","size":4264,"stargazers_count":51,"open_issues_count":11,"forks_count":20,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T17:09:40.597Z","etag":null,"topics":["converter","google-calendar","ical","ics","json"],"latest_commit_sha":null,"homepage":null,"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/cwlsn.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","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":"2018-04-11T23:52:14.000Z","updated_at":"2025-01-28T16:01:51.000Z","dependencies_parsed_at":"2025-01-19T22:14:01.087Z","dependency_job_id":"d859e4f8-212b-4328-b622-2794c0630a0c","html_url":"https://github.com/cwlsn/ics-to-json","commit_stats":{"total_commits":17,"total_committers":3,"mean_commits":5.666666666666667,"dds":0.3529411764705882,"last_synced_commit":"3ec8a2a8f6f7281269c80a407484589029b96ea1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwlsn%2Fics-to-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwlsn%2Fics-to-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwlsn%2Fics-to-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwlsn%2Fics-to-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwlsn","download_url":"https://codeload.github.com/cwlsn/ics-to-json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378149,"owners_count":20929297,"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":["converter","google-calendar","ical","ics","json"],"created_at":"2024-12-06T07:08:49.914Z","updated_at":"2025-04-05T18:11:45.655Z","avatar_url":"https://github.com/cwlsn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg width=\"500\" src=\"https://user-images.githubusercontent.com/10063864/38649838-bb70b7ba-3dc6-11e8-9c10-943ad21cd592.png\" alt=\"ics-to-json\"\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n---\n\nConvert the ICS calendar format to JSON data to consume in web apps.\n\n## Usage\n\n```js\nimport { icsToJson } from 'ics-to-json';\n\n// Get ICS text however you like, example below\n// Make sure you have the right CORS settings if needed\nconst convert = async (fileLocation) =\u003e {\n  const icsRes = await fetch(fileLocation);\n  const icsData = await icsRes.text();\n  // Convert\n  const data = icsToJson(icsData);\n  return data;\n};\n```\n\n## Format\n\nResult is an array of:\n\n```js\n{\n  startDate: '20180505T020000Z',\n  endDate: '20180505T060000Z',\n  description: 'Big Event!',\n  location: 'The place!',\n  summary: 'Summary!'\n}\n```\n\n## Upcoming\n\n- Ability to reverse conversion\n- Include the rest of the keys from the ICS format\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwlsn%2Fics-to-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwlsn%2Fics-to-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwlsn%2Fics-to-json/lists"}