npm.io
0.1.2 • Published 10 years ago

date-of-week

Licence
MIT
Version
0.1.2
Deps
0
Vulns
0
Weekly
0

Date of Week

Build Status

A small library that get the next date with the specified day

Installation

npm install date-of-week

Usage

var dateOfWeek = require('date-of-week');

var formattedNum = dateOfWeek(0);

Output should be Date object set to next sunday

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Keywords