{"id":50379569,"url":"https://github.com/42proger/easter-date.js","last_synced_at":"2026-05-30T11:03:01.782Z","repository":{"id":128745956,"uuid":"538487658","full_name":"42proger/easter-date.js","owner":"42proger","description":":calendar: :church: Easter Dates Calculator on JavaScript. Based on Gauss's Easter algorithm","archived":false,"fork":false,"pushed_at":"2026-03-10T07:27:01.000Z","size":462,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-10T13:19:22.248Z","etag":null,"topics":["algorithm","algorithms","easter","easter-date","eastern","typescript"],"latest_commit_sha":null,"homepage":"","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/42proger.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-19T12:20:05.000Z","updated_at":"2026-03-10T07:27:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"40a365c4-24ce-44f1-bdbf-6407707585cf","html_url":"https://github.com/42proger/easter-date.js","commit_stats":null,"previous_names":["42proger/easter-date.js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/42proger/easter-date.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42proger%2Feaster-date.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42proger%2Feaster-date.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42proger%2Feaster-date.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42proger%2Feaster-date.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/42proger","download_url":"https://codeload.github.com/42proger/easter-date.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42proger%2Feaster-date.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33689564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["algorithm","algorithms","easter","easter-date","eastern","typescript"],"created_at":"2026-05-30T11:03:00.065Z","updated_at":"2026-05-30T11:03:01.777Z","avatar_url":"https://github.com/42proger.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easter Date Calculation\n\n[![NPM Type Definitions](https://img.shields.io/npm/types/easter-date.js)](https://www.npmjs.com/package/easter-date.js)\n[![CodeQL](https://github.com/42proger/easter-date.js/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/42proger/easter-date.js/actions/workflows/github-code-scanning/codeql)\n[![install size](https://packagephobia.com/badge?p=easter-date.js)](https://packagephobia.com/result?p=easter-date.js)\n\nThis project provides two algorithms for calculating the date of Easter in the Western (Catholic and Protestant) and Orthodox calendars.\n\nBased on Gauss's Easter algorithm:\nhttps://doi.org/10.1007/s00407-004-0078-5\n\n## Installing\n\nInstall with npm\n\n```bash\n  npm install easter-date.js\n```\nor yarn:\n\n```bash\n  yarn add easter-date.js\n```\n\n## Usage/Examples\n\nTo use the algorithms, import them into your JavaScript code:\n```javascript\n// ES Modules\nimport { getWesternEaster, getOrthodoxEaster } from \"easter-date.js\";\n```\n\n```javascript\n// CommonJS\nconst { getWesternEaster, getOrthodoxEaster } = require('easter-date.js');\n```\n\nand pass the desired year as an argument:\n\n```javascript\ngetWesternEaster(2024); \n// Output: { day: 31, month: 3, year: 2024 }\n\ngetOrthodoxEaster(2024); \n// Output: { day: 5, month: 5, year: 2024 }\n```\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/42proger/easter-date.js\n```\n\nGo to the project directory\n\n```bash\n  cd easter-date.js\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nRun a compile\n\n```bash\n  npm run build\n```\n\n## Running Tests\n\nTo run the tests, install the required dependencies and run the following command:\n\n```bash\n  npm run test\n```\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42proger%2Feaster-date.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F42proger%2Feaster-date.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42proger%2Feaster-date.js/lists"}