{"id":20279114,"url":"https://github.com/waratuman/rfc5545-rrule","last_synced_at":"2025-04-11T06:15:00.441Z","repository":{"id":136803708,"uuid":"81055545","full_name":"waratuman/rfc5545-rrule","owner":"waratuman","description":"RFC5545 RRule library for JavaScript","archived":false,"fork":false,"pushed_at":"2022-01-21T14:44:39.000Z","size":66,"stargazers_count":24,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T06:14:54.166Z","etag":null,"topics":["ical","javascript","rfc5545","rrule","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/waratuman.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":"2017-02-06T06:32:18.000Z","updated_at":"2023-06-15T15:57:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8646c2a-ae45-498d-972c-c41187764d18","html_url":"https://github.com/waratuman/rfc5545-rrule","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waratuman%2Frfc5545-rrule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waratuman%2Frfc5545-rrule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waratuman%2Frfc5545-rrule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waratuman%2Frfc5545-rrule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waratuman","download_url":"https://codeload.github.com/waratuman/rfc5545-rrule/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351393,"owners_count":21089272,"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":["ical","javascript","rfc5545","rrule","typescript"],"created_at":"2024-11-14T13:28:24.522Z","updated_at":"2025-04-11T06:15:00.434Z","avatar_url":"https://github.com/waratuman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RFC5545 RRule\n\nRFC5545 RRule library for JavaScript.\n\n## Installation\n\nUsing [NPM](https://www.npmjs.com/):\n\n```bash\nnpm install rfc5545-rrule\n```\n\nUsing [Yarn](https://yarnpkg.com/):\n\n```bash\nyarn add rfc5545-rrule\n```\n\n## Usage\n\n### Node.js\n\n```javascript\nlet { RRule, Day } = require(\"rfc5545-rrule\");\n\nlet rrule = RRule.fromString(\"RRULE:FREQ=YEARLY;INTERVAL=4;BYMONTH=11;BYDAY=TU;BYMONTHDAY=2,3,4,5,6,7,8\");\n\nconsole.log(rrule);\n// RRule {\n//     interval: 4,\n//     weekStart: 1,\n//     frequency: 'yearly',\n//     byMonth: [ 10 ],\n//     byDay: [ Day { value: 2, nth: undefined } ],\n//     byMonthDay: [ 2, 3, 4, 5, 6, 7, 8 ]\n// }\n\n// A recurrence that repeats every Sunday of the week.\nrrule = new RRule({ frequency: \"weekly\", byDay: [ new Day(0) ] });\nrrule.toString(); // RRULE:FREQ=WEEKLY;BYDAY=SU\n```\n\n### TypeScript\n\n```typescript\nimport { RRule } = from \"rfc5545-rrule\";\n\nlet rrule = RRule.fromString(\"RRULE:FREQ=YEARLY;INTERVAL=4;BYMONTH=11;BYDAY=TU;BYMONTHDAY=2,3,4,5,6,7,8\");\n```\n## License\n[ICS](https://github.com/waratuman/rfc5545-rrule/blob/master/LICENSE)\n\n## Development\n\n### Compiling the grammar\n\n```bash\nnpx nearleyc ./src/grammar.ne -o ./src/grammar.ts\n```\n\nUpdate `./src/grammar.ts` to export `ParserRules` and `ParserStart`. Also, remove\nthe wrapping function and export at the bottom of the file.\n\n```bash\nnpm run compile\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaratuman%2Frfc5545-rrule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaratuman%2Frfc5545-rrule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaratuman%2Frfc5545-rrule/lists"}