{"id":13447116,"url":"https://github.com/jshor/datebook","last_synced_at":"2026-02-22T19:31:10.046Z","repository":{"id":34017857,"uuid":"37775143","full_name":"jshor/datebook","owner":"jshor","description":"📅 Generates URLs and downloadable ICS files for adding events to popular calendar apps.","archived":false,"fork":false,"pushed_at":"2025-02-23T16:10:16.000Z","size":4433,"stargazers_count":339,"open_issues_count":4,"forks_count":85,"subscribers_count":13,"default_branch":"main","last_synced_at":"2026-01-30T19:43:06.591Z","etag":null,"topics":["calendar","google-calendar","icalendar","ics","outlook","yahoo"],"latest_commit_sha":null,"homepage":"https://datebook.dev","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/jshor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2015-06-20T15:45:50.000Z","updated_at":"2026-01-26T23:03:11.000Z","dependencies_parsed_at":"2024-01-18T15:58:09.245Z","dependency_job_id":"842d47dc-eae5-4fec-b101-8af7a2a31f2d","html_url":"https://github.com/jshor/datebook","commit_stats":null,"previous_names":["jshor/angular-addtocalendar"],"tags_count":81,"template":false,"template_full_name":null,"purl":"pkg:github/jshor/datebook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fdatebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fdatebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fdatebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fdatebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jshor","download_url":"https://codeload.github.com/jshor/datebook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fdatebook/sbom","scorecard":{"id":538286,"data":{"date":"2025-08-11","repo":{"name":"github.com/jshor/datebook","commit":"f8db76c99ee951d1318e36f1bdcf85170c07c6a0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 4/23 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/merge.yml:1","Warn: no topLevel permission defined: .github/workflows/pr.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/merge.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/merge.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/pr.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/datebook/pr.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/merge.yml:25","Warn: npmCommand not pinned by hash: .github/workflows/pr.yml:20","Info:   0 out of  12 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-353f-5xf4-qw67","Warn: Project is vulnerable to: GHSA-c24v-8rfc-w8vw","Warn: Project is vulnerable to: GHSA-8jhw-289h-jh2g","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-f9xv-q969-pqx4"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T07:33:55.446Z","repository_id":34017857,"created_at":"2025-08-20T07:33:55.446Z","updated_at":"2025-08-20T07:33:55.446Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29724345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T19:15:09.475Z","status":"ssl_error","status_checked_at":"2026-02-22T19:15:09.045Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["calendar","google-calendar","icalendar","ics","outlook","yahoo"],"created_at":"2024-07-31T05:01:08.651Z","updated_at":"2026-02-22T19:31:09.992Z","avatar_url":"https://github.com/jshor.png","language":"TypeScript","funding_links":[],"categories":["JavaScript","TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://datebook.dev/\"\u003e\n    \u003cimg src=\"https://datebook.dev/assets/logo.svg\" width=\"200\" height=\"200\" /\u003e\n  \u003c/a\u003e\n\n  \u003ch1 style=\"text-align: center;\" align=\"center\"\u003eDatebook\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eA library for adding events to popular calendar apps.\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eIt provides full support for rendering .ics file content for iCalendar and Office Outlook, and also supports URL generation for Google Calendar, Yahoo! Calendar, and Outlook Web.\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://codecov.io/gh/jshor/datebook\"\u003e\u003cimg\n    src=\"https://img.shields.io/codecov/c/github/jshor/datebook.svg?style=for-the-badge\"\n    alt=\"Code coverage\"\n  /\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jshor/datebook/actions/workflows/merge.yml\"\u003e\u003cimg\n    src=\"https://img.shields.io/github/actions/workflow/status/jshor/datebook/merge.yml?branch=main\u0026style=for-the-badge\"\n    alt=\"Build status\"\n  /\u003e\u003c/a\u003e \u003ca href=\"https://npmjs.com/package/datebook\"\u003e\u003cimg\n    src=\"http://img.shields.io/npm/v/datebook.svg?style=for-the-badge\"\n    alt=\"npm version\"\n  /\u003e\u003c/a\u003e \u003ca href=\"https://bundlephobia.com/result?p=datebook\"\u003e\u003cimg\n    src=\"https://img.shields.io/bundlephobia/minzip/datebook?style=for-the-badge\"\n    alt=\"npm package size\"\n  /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## Documentation\n\n[Read the docs →](https://datebook.dev/start)\n\n## Demo\n\nTry the [online calendar generator →](https://datebook.dev/generator/)\n\n## Quick Start\n\n### Installation\n\n```sh\nyarn add datebook\n```\n\n### Examples\n\n```ts\nimport { ICalendar } from 'datebook'\n\nconst config: CalendarOptions = {\n  title: 'Happy Hour',\n  location: 'The Bar, New York, NY',\n  description: 'Let\\'s blow off some steam with a tall cold one!',\n  start: new Date('2022-07-08T19:00:00'),\n  end: new Date('2022-07-08T23:30:00'),\n  attendees: [\n    {\n      name: 'John Doe',\n      email: 'john@doe.com',\n      icsOptions: {\n        rsvp: true\n      }\n    },\n    {\n      name: 'Jane Doe',\n      email: 'jane@doe.com'\n    }\n  ],\n  // an event that recurs every two weeks:\n  recurrence: {\n    frequency: 'WEEKLY',\n    interval: 2\n  }\n}\n\nconst icalendar = new ICalendar(config)\n```\n\n#### iCalendar\n\n##### With a reminder\n\n```ts\nicalendar\n  .addAlarm({\n    action: 'DISPLAY',\n    description: 'Remember this event'\n    trigger: {\n      minutes: 10\n    }\n  })\n```\n\nThis will add a [reminder alarm](https://datebook.dev/config/alarms.html) that shows 10 minutes before the event.\n\n##### With multiple events\n\n```ts\nconst secondEvent = new ICalendar({\n  title: 'Monthly Meeting with Boss Man',\n  location: 'Conference Room 2A, Big Company, Brooklyn, NY',\n  description: 'Meeting to discuss weekly things',\n  start: new Date('2022-07-08T19:00:00'),\n  recurrence: {\n    frequency: 'MONTHLY'\n  }\n})\n\nicalendar.addEvent(secondEvent)\n```\n\nThis will add a [second event](https://datebook.dev/api/icalendar.html#addevent-icalendar-icalendar) to the same `.ics` file.\n\n##### Adding other ICS properties\n\n```ts\nicalendar.addProperty('CATEGORIES', 'MEETINGS,MANAGEMENT')\n```\n\nThis will [add the `CATEGORIES` ICS property](https://datebook.dev/api/icalendar.html#addproperty-key-string-value-icspropertyvalue) to the iCalendar instance.\n\n##### Rendering ICS file content\n\n```ts\nconst content = icalendar.render()\n```\n\nThis will render ICS file content which can be [downloaded onto the user's device](https://datebook.dev/api/icalendar.html#example-for-downloading-an-ics-file) for use in local calendar apps.\n\n#### Google Calendar\n\n```ts\nconst googleCalendar = new GoogleCalendar(config)\n\ngoogleCalendar.render()\n```\n\n[`googleCalendar.render()`](https://datebook.dev/api/google.html#render) will return a URL that the user can navigate to and pre-fill event details:\n\n```\nhttps://calendar.google.com/calendar/render?action=TEMPLATE\u0026text=Happy%20Hour\u0026details=Let's%20blow%20off%20some%20steam%20with%20a%20tall%20cold%20one!\u0026location=The%20Bar%2C%20New%20York%2C%20NY\u0026dates=20220708T190000%2F20220708T230000\u0026recur=RRULE%3AFREQ%3DWEEKLY%3BINTERVAL%3D1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshor%2Fdatebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjshor%2Fdatebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshor%2Fdatebook/lists"}