Skip to content
Jours fériés par an
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src initial commit Dec 2, 2019
.eslintrc.json initial commit Dec 2, 2019
README.md
package.json Pin dependencies Dec 2, 2019
renovate.json Add renovate.json Dec 2, 2019
yarn.lock Pin dependencies Dec 2, 2019

README.md

jours-feries

NPM

JavaScript / npm port of jours-feries-france by @AntoineAugusti

Usage

import joursFeries from "@socialgouv/jours-feries";

console.log(joursFeries(2018));

// include jours feries alsace-moselle
console.log(joursFeries(2018, { alsace: true }));

⚠️ Les dates renvoyées sont de vrais objets JavaScript Date

{
  "Jour de l'an": "2017-12-31T23:00:00.000Z",
  "Fête du travail": "2018-04-30T22:00:00.000Z",
  "Victoire des alliés": "2018-05-07T22:00:00.000Z",
  "Fête Nationale": "2018-07-13T22:00:00.000Z",
  "Assomption": "2018-08-14T22:00:00.000Z",
  "Toussaint": "2018-10-31T23:00:00.000Z",
  "Armistice": "2018-11-10T23:00:00.000Z",
  "Noël": "2018-12-24T23:00:00.000Z",
  "Lundi de Pâques": "2018-04-01T22:00:00.000Z",
  "Ascension": "2018-05-09T22:00:00.000Z",
  "Lundi de Pentecôte": "2018-05-20T22:00:00.000Z",
  "Vendredi Saint": "2018-03-29T22:00:00.000Z",
  "Saint Étienne": "2018-12-25T23:00:00.000Z"
}
You can’t perform that action at this time.