1.0.3 • Published 10 years ago

timedial v1.0.3

Weekly downloads
5
License
ISC
Repository
github
Last release
10 years ago

timedial

dial it in.

moment.js is great for just about everything except unix timestamps. timestamps are great for leveldb ranges.

usage

var dial = require('timedial')

var moment = Date.now()

var future = dial.forward(moment, 4, 'hours')

methods

dial#forward(timestamp, factor, unit)

dial#back(timestamp, factor, unit)

dial#readable(timestamp)

install

npm install timedial

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago