0.1.2 • Published 8 years ago
date-of-week v0.1.2
Date of Week
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.