Have ideas to improve npm?Join in the discussion! »

pretty-date-duration

1.0.4 • Public • Published

pretty-date-duration

This module lets you show the time Humanize Duration.

Install

$ npm install pretty-date-duration

Basic usage

var prettyDate = require('pretty-date-duration')
prettyDate('2018-06-12','2018-06-13') // '1 day'

Parameters

It needs 2 parameter start date and end date. prettyDate(start_date,end_date)

Credits

License

The MIT License

Install

npm i pretty-date-duration

DownloadsWeekly Downloads

9

Version

1.0.4

License

MIT

Unpacked Size

3.23 kB

Total Files

4

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar