Skip to content

bukinoshita/holiday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

holiday Build Status

List of Federal Public Holidays in 2017

Install

$ yarn add holiday

Usage

const holiday = require('holiday')

// today: 1/1/2017

await holiday()
// => New Years Day

API

holiday([options])

options

Type: object

country

Type: string
Default: us
Options: us and br

Country holiday

range

Type: string
Default: day
Options: day || month || year

Related

  • is-holiday — Get todays Federal Public Holidays

License

MIT © Bu Kinoshita