1.0.3 • Published 8 years ago

business-hours v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.0

10 years ago