node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

timerange

returns start and end timestamps for YYYY-MM-DD, YYYY-MM, or YYYY

timerange

Dates are really timerages. This library returns those values.

var tr = timerage() var tr = timerage("2012")
var tr = timerage("2012-06") var tr = timerage("2012-06-15")