Skip to content

janko-sokolovic/pretty-weekday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A lightweight lib to nicely print week days when integer is provided

Resources

Stars

Watchers

Forks

Packages

No packages published