{"id":21252099,"url":"https://github.com/leoglme/jours-feries","last_synced_at":"2026-07-03T22:02:21.807Z","repository":{"id":132520849,"uuid":"490322811","full_name":"Leoglme/jours-feries","owner":"Leoglme","description":"Librarie typescript pour calculer et intéragir avec les jours feriés en france","archived":false,"fork":false,"pushed_at":"2022-05-10T07:22:26.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T01:40:24.480Z","etag":null,"topics":["date","ferie","format","france","jour","ts","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Leoglme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-05-09T14:41:09.000Z","updated_at":"2022-05-09T18:48:07.000Z","dependencies_parsed_at":"2023-06-08T05:45:34.869Z","dependency_job_id":null,"html_url":"https://github.com/Leoglme/jours-feries","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Leoglme/jours-feries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leoglme%2Fjours-feries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leoglme%2Fjours-feries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leoglme%2Fjours-feries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leoglme%2Fjours-feries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leoglme","download_url":"https://codeload.github.com/Leoglme/jours-feries/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leoglme%2Fjours-feries/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35102742,"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-07-03T02:00:05.635Z","response_time":110,"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":["date","ferie","format","france","jour","ts","typescript"],"created_at":"2024-11-21T03:46:11.805Z","updated_at":"2026-07-03T22:02:21.787Z","avatar_url":"https://github.com/Leoglme.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003eJours fériés en France\u003c/h2\u003e\n\n\u003cp\u003e\n Librarie typescript pour calculer et intéragir avec les jours feriés en france \n\u003c/p\u003e\n\n\n![Language](https://img.shields.io/badge/language-typescript-blue.svg?style=flat)\n\n\u003cimg alt=\"hero\" height=\"500\" src=\"https://dibodev-files.s3.eu-west-3.amazonaws.com/Capture+d%E2%80%99%C3%A9cran+2022-05-09+201917.jpg\"\u003e\n\n\n\n\u003e Le code source se trouve sur le repo [jours-feries](https://github.com/Leoglme/jours-feries)\n\n## Install\n\n   ```sh\n    $ git clone https://github.com/Leoglme/jours-feries\n   ```\n\n## Fonctionnalités\n\n### getJoursFeries\n\n```ts\nimport {getJoursFeries} from './lib'\n\n// Liste [fete]: Date\nconst list = getJoursFeries(2022)\nconsole.log(list)\n```\n#### resultat =\u003e\n```sh\n{\n  \"Jour de l'an\": 2021-12-31T23:00:00.000Z,\n  'Fête du travail': 2022-04-30T22:00:00.000Z,\n  'Victoire des alliés': 2022-05-07T22:00:00.000Z,\n  'Fête Nationale': 2022-07-13T22:00:00.000Z,\n  'Assomption': 2022-08-14T22:00:00.000Z,\n  'Toussaint': 2022-10-31T23:00:00.000Z,\n  'Armistice': 2022-11-10T23:00:00.000Z,\n  'Noël': 2022-12-24T23:00:00.000Z,\n  'Lundi de Pâques': 2022-04-17T22:00:00.000Z,\n  'Ascension': 2022-05-25T22:00:00.000Z,\n  'Lundi de Pentecôte': 2022-06-05T22:00:00.000Z\n}\n```\n### isFerie\n```ts\nimport {isFerie} from './lib'\n\nconst noel = new Date(\"2022-12-24T23:00:00.000Z\")\n// Le jour est-il ferié ?\nconst res = isFerie(noel)\nconsole.log(res)\n```\n#### resultat =\u003e\n```js\ntrue\n```\n### datesFeries\n```ts\nimport {datesFeries} from './lib'\n\n// Tableau de dates des jours feriés\nconsole.log(datesFeries)\n```\n#### resultat =\u003e\n```sh\n[                          \n  2021-12-31T23:00:00.000Z,\n  2022-04-30T22:00:00.000Z,\n  2022-05-07T22:00:00.000Z,\n  2022-07-13T22:00:00.000Z,\n  2022-08-14T22:00:00.000Z,\n  2022-10-31T23:00:00.000Z,\n  2022-11-10T23:00:00.000Z,\n  2022-12-24T23:00:00.000Z,\n  2022-04-17T22:00:00.000Z,\n  2022-05-25T22:00:00.000Z,\n  2022-06-05T22:00:00.000Z \n]                  \n```\n### feteList\n```ts\nimport {feteList} from './lib'\n\n// Liste {fete: string, date: Date}\nconsole.log(feteList)\n```\n#### resultat =\u003e\n```sh\n[\n  { fete: \"Jour de l'an\", date: 2021-12-31T23:00:00.000Z },\n  { fete: 'Fête du travail', date: 2022-04-30T22:00:00.000Z },\n  { fete: 'Victoire des alliés', date: 2022-05-07T22:00:00.000Z },\n  { fete: 'Fête Nationale', date: 2022-07-13T22:00:00.000Z },\n  { fete: 'Assomption', date: 2022-08-14T22:00:00.000Z },\n  { fete: 'Toussaint', date: 2022-10-31T23:00:00.000Z },\n  { fete: 'Armistice', date: 2022-11-10T23:00:00.000Z },\n  { fete: 'Noël', date: 2022-12-24T23:00:00.000Z },\n  { fete: 'Lundi de Pâques', date: 2022-04-17T22:00:00.000Z },\n  { fete: 'Ascension', date: 2022-05-25T22:00:00.000Z },\n  { fete: 'Lundi de Pentecôte', date: 2022-06-05T22:00:00.000Z }\n]                 \n```\n### findFeteByDate\n```ts\nimport {findFeteByDate} from './lib'\n\nconst noel = new Date(\"2022-12-24T23:00:00.000Z\")\n// Trouver le nom d'une fête avec sa date\nconst feteName = findFeteByDate(noel)\nconsole.log(feteName)\n```\n#### resultat =\u003e\n```sh\nNoël                \n```\n\n \n\n## License\n\nCopyright (c) 2021 [Dibodev](https://dibodev.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoglme%2Fjours-feries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoglme%2Fjours-feries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoglme%2Fjours-feries/lists"}