{"id":25049505,"url":"https://github.com/mauriciorobayo/pascua","last_synced_at":"2025-06-17T15:40:05.652Z","repository":{"id":36981113,"uuid":"283480911","full_name":"MauricioRobayo/pascua","owner":"MauricioRobayo","description":"Calculate Easter date for any given year","archived":false,"fork":false,"pushed_at":"2024-12-16T03:24:44.000Z","size":7848,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T06:44:33.149Z","etag":null,"topics":["easter","easter-date","gregorian-calendar","holidays"],"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/MauricioRobayo.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":"2020-07-29T11:29:48.000Z","updated_at":"2024-09-12T03:21:17.000Z","dependencies_parsed_at":"2023-02-10T13:15:39.360Z","dependency_job_id":"dec2a4b3-d410-4882-abd3-f19d3b2c2821","html_url":"https://github.com/MauricioRobayo/pascua","commit_stats":{"total_commits":608,"total_committers":9,"mean_commits":67.55555555555556,"dds":0.3355263157894737,"last_synced_commit":"747efa6713394aa17075e266f3ef1bc59e6b4636"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MauricioRobayo%2Fpascua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MauricioRobayo%2Fpascua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MauricioRobayo%2Fpascua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MauricioRobayo%2Fpascua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MauricioRobayo","download_url":"https://codeload.github.com/MauricioRobayo/pascua/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248829001,"owners_count":21168132,"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":["easter","easter-date","gregorian-calendar","holidays"],"created_at":"2025-02-06T08:19:32.970Z","updated_at":"2025-04-14T05:35:18.960Z","avatar_url":"https://github.com/MauricioRobayo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pascua 🙏\n\n[![npm version](https://badge.fury.io/js/pascua.svg)](https://badge.fury.io/js/pascua)\n[![Build Status](https://github.com/MauricioRobayo/pascua/workflows/build%20and%20release/badge.svg)](https://github.com/MauricioRobayo/pascua/actions?query=workflow%3A%22build+and+release%22)\n[![codecov](https://codecov.io/gh/MauricioRobayo/pascua/branch/main/graph/badge.svg?token=ywhhMAVgON)](https://codecov.io/gh/MauricioRobayo/pascua)\n[![CodeFactor](https://www.codefactor.io/repository/github/mauriciorobayo/pascua/badge)](https://www.codefactor.io/repository/github/mauriciorobayo/pascua)\n\nCalculate Easter date for a given year, traditionally celebrated on the first Sunday after the [Paschal full moon](https://en.wikipedia.org/wiki/Ecclesiastical_full_moon), using the [\"Meeus/Jones/butcher\" algorithm](https://en.wikipedia.org/wiki/Computus).\n\n## Installation\n\nTo install as a dependency:\n\n```\nnpm install pascua\n```\n\n## Usage\n\n`pascua` exports a single function that takes an optional `integer` between 1583 and 4099 for the year.\n\n```js\nimport pascua from \"pascua\";\n\n// Easter date for the current year\nconst easter = pascua();\n\n// Easter date for 1984\nconst easter1984 = pascua(1984);\n```\n\nThe function will return an object with the following properties:\n\n| Property     | Description                             |\n| ------------ | --------------------------------------- |\n| `year`       | Year                                    |\n| `month`      | Month                                   |\n| `day`        | Day                                     |\n| `toString()` | Returns a formatted string `YYYY-MM-DD` |\n\n## TypeScript\n\nThe module is written in TypeScript and type definitions files are included.\n\n## Contributing\n\nContributions, issues and feature requests are welcome!\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgements\n\n[date-easter](https://github.com/commenthol/date-easter/blob/master/index.js).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauriciorobayo%2Fpascua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmauriciorobayo%2Fpascua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauriciorobayo%2Fpascua/lists"}