npm.io
1.0.0 • Published 8 years ago

holiday

Licence
MIT
Version
1.0.0
Deps
1
Vulns
0
Weekly
0
Stars
1

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

  • is-holiday — Get todays Federal Public Holidays

License

MIT Bu Kinoshita