$ npm install clockin
var getDate = require('clockin')
var present = new Date()
getDate(present, 'now') // Sunday, August 23rd, 2015 05:06:14 GMT-0400
getDate(present) // Sunday, August 23rd, 2015 05:06:14 GMT-0400
getDate('now') // Sunday, August 23rd, 2015 05:06:14 GMT-0400
getDate() // Sunday, August 23rd, 2015 05:06:14 GMT-0400
After analyzing my usage of moment, I discovered that 99 out of 100 times I used the date formatting routines of the present moment
.
0.1.3 - add lib to files array in package.json