0.0.4 • Published 6 years ago

supernicedate v0.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

supernicedate

Formats a date in a nice human readable format.

Couldn't be simpler really :-)

const nicedate = require("supernicedate")

console.log(nicedate.out("2018-02-22") );
    //  > Thursday February 22nd 2018

console.log(nicedate.out("2018-01-01") );
    //  Monday January 1st 2018

console.log(nicedate.out("2018-01-03 23:21"), true );
    //  Wednesday January 3rd 2018 @ 23:21