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

Package Sidebar

Install

npm i pretty-date-duration

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

3.23 kB

Total Files

4

Last publish

Collaborators

  • shubham2604gupta
  • avkad17
  • springrole1
  • kar2905
  • vinay035
  • rrb11