pretty-weekday
v1.0.1
Published
Get a prettified values for a given day of the week.
Downloads
1
Maintainers
Readme
Pretty weekdays v1.0.1
Installation
In a browser:
<script src="pretty-weekday.js"></script>
Using npm:
$ npm i --save pretty-weekday
Usage
var PrettyWeekday = require('pretty-weekday');
PrettyWeekday.toPrettyDay(1) // { name: "Monday", short: "Mon" }
Test
$ npm test