UNPKG

@tataille/node-red-french-holidays

Version:

A simple node-red component for working with French holidays.

23 lines (20 loc) 670 B
/* Constants */ const LOCALE_CODE = "fr" var GEO_MAP = {} GEO_MAP['Alsace-Moselle'] = 'alsace-moselle' GEO_MAP['Guadeloupe'] = 'guadeloupe' GEO_MAP['La Réunion'] = 'la-reunion' GEO_MAP['Martinique'] = 'martinique' GEO_MAP['Mayotte'] = 'mayotte' GEO_MAP['Métropole'] = 'metropole' GEO_MAP['Nouvelle Calédonie'] = 'nouvelle-caledonie' GEO_MAP['Polynésie Française'] = 'polyneise-francaise' GEO_MAP['Saint Barthélémy'] = 'saint-barthelemy' GEO_MAP['Saint Martin'] = 'saint-martin' GEO_MAP['Saint Pierre et Miquelon'] = 'saint-pierre-et-miquelon' GEO_MAP['Wallis et Futuna'] = 'wallis-et-futuna' module.exports={ LOCALE_CODE:LOCALE_CODE, GEO_MAP:GEO_MAP }