time-format

0.0.1 • Public • Published

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())

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i time-format

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • skovalyov