npm.io
0.0.1 • Published 13 years ago

time-format

Licence
Version
0.0.1
Deps
0
Vulns
0
Weekly
3
Stars
1

Time Format

Build Status

A simple method to format the difference between two timestamps.

For more complex cases and flexibility use libraries like Moment.js.

Installation

$ npm install time-format

API

require('time-format').span(date, now = new Date())