All Projects → cwlsn → ics-to-json

cwlsn / ics-to-json

Licence: other
📅 Convert ICS calendars (eg. Google Calendar) to an opinionated JSON format.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ics-to-json

Daylight-Calendar-ICS
Daylight Calendar is a dynamically generated .ics calendar that you can host and subscribe to in Google Calendar, iCal, or other calendar software.
Stars: ✭ 22 (-38.89%)
Mutual labels:  ical, google-calendar, ics
ics2gcal
Import .ics files into Google Calendar with only two clicks.
Stars: ✭ 21 (-41.67%)
Mutual labels:  ical, google-calendar, ics
weather-calendar-feed
Display yr.no weather (supports the entire Earth) forecasts with highly customizable Event titles in your Google Calendar, Android phone, iPhone, Outlook or other iCalendar app
Stars: ✭ 16 (-55.56%)
Mutual labels:  google-calendar, ics
prodcal ics
Производственный календарь в формате ics
Stars: ✭ 23 (-36.11%)
Mutual labels:  google-calendar, ics
node-ical
NodeJS class for parsing iCalendar/ICS files
Stars: ✭ 53 (+47.22%)
Mutual labels:  ical, ics
datebook
📅 Generates URLs and downloadable ICS files for adding events to popular calendar apps.
Stars: ✭ 273 (+658.33%)
Mutual labels:  google-calendar, ics
Fb2cal
Fetch Facebook Birthdays events and create an ICS file for use with calendar apps
Stars: ✭ 335 (+830.56%)
Mutual labels:  google-calendar, ics
ical
📅 Golang iCalendar lexer/parser implementing RFC 5545
Stars: ✭ 28 (-22.22%)
Mutual labels:  ical, ics
every2cal
🙌에브리타임 캘린더를 ics파일로 바꿔줍니다
Stars: ✭ 33 (-8.33%)
Mutual labels:  ical, ics
ical2gcal
sync ics(es) to google calendar
Stars: ✭ 13 (-63.89%)
Mutual labels:  ical, google-calendar
remarkable-calendar-creator
Create calendars to display on a reMarkable device as the suspend screen or to write notes on, including events from your own online iCal calendar
Stars: ✭ 28 (-22.22%)
Mutual labels:  ical, ics
ical2json
A simple node package to convert ical data to json
Stars: ✭ 46 (+27.78%)
Mutual labels:  converter, ics
Audiblex
Audible audio book converter which actually works!
Stars: ✭ 26 (-27.78%)
Mutual labels:  converter
iec-checker
Static analysis of IEC 61131-3 programs
Stars: ✭ 36 (+0%)
Mutual labels:  ics
Notion-GCal-Sync
A Python script to automate the syncing of tasks between Google Calendar and the all-in-one productivity workspace, Notion. It utilizes API and is customizable for your own needs. Free to use.
Stars: ✭ 120 (+233.33%)
Mutual labels:  google-calendar
java-xml-to-json
👾 convert XML to a structure-preserving JSON representation
Stars: ✭ 15 (-58.33%)
Mutual labels:  converter
dnglab
Camera RAW to DNG file format converter
Stars: ✭ 103 (+186.11%)
Mutual labels:  converter
caffe weight converter
Caffe-to-Keras weight converter. Can also export weights as Numpy arrays for further processing.
Stars: ✭ 68 (+88.89%)
Mutual labels:  converter
csv2vcf
🔧 Simple script in python to convert CSV files to VCF
Stars: ✭ 66 (+83.33%)
Mutual labels:  converter
guepard
flash to html5 converter, as3 to javascript translator
Stars: ✭ 58 (+61.11%)
Mutual labels:  converter

ics-to-json


Convert the ICS calendar format to JSON data to consume in web apps.

Usage

import icsToJson from 'ics-to-json'

// Get ICS text however you like, example below
// Make sure you have the right CORS settings if needed
const convert = async (fileLocation) => {
	const icsRes = await fetch(fileLocation)
	const icsData = await icsRes.text()
	// Convert
	const data = icsToJson(icsData)
	return data
}

Format

Result is an array of:

{
  startDate: '20180505T020000Z',
  endDate: '20180505T060000Z',
  description: 'Big Event!',
  location: 'The place!',
  summary: 'Summary!'
}

Upcoming

  • Ability to reverse conversion
  • Include the rest of the keys from the ICS format
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].