a node.js library for getting the work days in a week.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README.md
package.json

README.md

work days per week

A node.js module for getting the work days in a week.

install & test

Checkout project with git and run

npm install
npm test

in project root.

usage

The workDays() API returns a list of moment.js objects representing the work days for given country, region and week. Country and state are mandatory. If no week/year given current week/year will be used.

workDays('DE', 'BY');
workDays('DE', 'BY', '14');
workDays('DE', 'BY', '14', 2013);

license

This library was developed by hour1 and is freely distributable under the terms of the MIT license.