Neo's Playing Morpheus

    @socialgouv/jours-feries

    2.0.0 • Public • Published

    jours-feries

    📆⛱️ codecov
    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"
    }

    Keywords

    none

    Install

    npm i @socialgouv/jours-feries

    DownloadsWeekly Downloads

    414

    Version

    2.0.0

    License

    Apache-2.0

    Unpacked Size

    12.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • revolunet
    • socialgroovybot