{"id":19621352,"url":"https://github.com/commenthol/date-holidays-ical","last_synced_at":"2025-04-28T03:32:17.898Z","repository":{"id":45057215,"uuid":"50781683","full_name":"commenthol/date-holidays-ical","owner":"commenthol","description":"Generate ical (.ics) files from date-holidays data","archived":false,"fork":false,"pushed_at":"2025-01-02T09:16:42.000Z","size":49,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T06:06:01.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commenthol.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}},"created_at":"2016-01-31T15:46:07.000Z","updated_at":"2025-02-05T05:57:42.000Z","dependencies_parsed_at":"2022-08-29T21:52:19.238Z","dependency_job_id":null,"html_url":"https://github.com/commenthol/date-holidays-ical","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fdate-holidays-ical","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fdate-holidays-ical/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fdate-holidays-ical/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fdate-holidays-ical/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commenthol","download_url":"https://codeload.github.com/commenthol/date-holidays-ical/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246261,"owners_count":21558761,"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-11-11T11:22:27.810Z","updated_at":"2025-04-28T03:32:17.866Z","avatar_url":"https://github.com/commenthol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# date-holidays-ical\n\n\u003e Generate ical (.ics) files from date-holidays data\n\n[![NPM version](https://badge.fury.io/js/date-holidays-ical.svg)](https://www.npmjs.com/package/date-holidays-ical/)\n[![Build Status](https://github.com/commenthol/date-holidays-ical/actions/workflows/ci.yml/badge.svg)](https://github.com/commenthol/date-holidays-ical/actions/workflows/ci.yml)\n\nThis tool exports data from [date-holidays][] into iCal format.\n\n## Usage\n\n```\n  Usage: holidays-ical [options]\n\n  Options:\n\n    -h, --help                this help\n    -v, --version             display version\n    -o, --out      file       write to file\n    -y, --year     year       year or year range\n    -f, --fullday             ical events are per full day\n    -s, --showcode            show country code in each ical summary\n    -t, --transp              ical events are all transparent\n    -n, --name     name       instead of country code add your own name to each ical summary\n    -q, --query               query for available countries, states, regions by shortcode\n    -l, --language language   set language\n\n  Examples:\n\n    Query for available Countries:\n    $ holiday-ical -q\n\n    Query for available States in New Zealand:\n    $ holiday-ical -q NZ\n\n    Calender for 2017 New Zealand, Auckland Province:\n    $ holiday-ical -f -y 2017 NZ.au\n\n    Calender for 2017 - 2019 New Zealand Auckland Province:\n    $ holiday-ical -f -y 2017-2019 NZ.au\n```\n\nImport the generated file into your calendar tool of choice.\n\n## API\n\n```js\nvar ical = require('date-holidays-ical')()\n\n// query for available countries\nvar res = ical.query()\n//\u003e { AD: 'Andorra',\n//\u003e   ..\n//\u003e   UY: 'Uruguay' }\n\n// initialize with country, e.g. Uruguay\nres = ical.init('UY')\n//\u003e true\n\n// get iCal Calender\nres = ical.calendar(2016)\n```\n\n## LICENSE\n\n[ICS][LICENSE]\n\n## References\n\n\u003c!-- !ref --\u003e\n\n* [date-holidays][date-holidays]\n* [LICENSE][LICENSE]\n* [RCF5545][RCF5545]\n\n\u003c!-- ref! --\u003e\n\n[date-holidays]: https://github.com/commenthol/date-holidays\n[RCF5545]: https://tools.ietf.org/html/rfc5545\n[LICENSE]: ./LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommenthol%2Fdate-holidays-ical","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommenthol%2Fdate-holidays-ical","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommenthol%2Fdate-holidays-ical/lists"}