1.0.3 • Published 7 years ago

business-hours v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Determine whether it's in business hours or not.

Usage

Just:

var businessHours = require('is-in-business-hours')()

Or to specify custom business hours:

var businessHours = require('is-in-business-hours')(9, 18)

Then just:

var isInBusinessHours = businessHours.isBusinessHours()

or

var isOutOfHours = businessHours.isOutOfHours()
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.0

9 years ago