holiday

1.0.0 • Public • Published

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

/holiday/

    Package Sidebar

    Install

    npm i holiday

    Weekly Downloads

    12

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • bukinoshita