Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bankholiday

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bankholiday

Library to get the bank holiday by country.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-52%
Maintainers
1
Weekly downloads
 
Created
Source

Bank Holiday Helper NPM version Downloads Build Status

A NodeJS library to get bank holidays.

This module lets you list all bank holidays, for a particular year and a particular country.

Features:

  • Very simple API
  • Support the following countries: FR,GB

Install

Install with npm:

  npm install bankholiday

How to use (example with FR Country)

  var bankholidayFR = require('bankholiday').FR;
  var bankHolidays = bankHolidayFR.findAll(2014);
  console.log(bankHolidays.length, bankHolidays); 

  11 [ '2014-01-01',
  '2014-04-21',
  '2014-05-29',
  '2014-06-09',
  '2014-05-01',
  '2014-05-08',
  '2014-07-14',
  '2014-08-15',
  '2014-11-01',
  '2014-11-11',
  '2014-12-25' ]

Contributors

Keywords

FAQs

Package last updated on 09 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc