Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

date-range-diff

1.0.0 • Public • Published

Build Status

Overview

Basic simple NPM package in getting date range difference between 2 specific dates.

Installation

npm i date-range-diff --save

Basic Setup & Usage

const dateDiff =  require("date-range-diff");

console.log(dateDiff("2020-01-26", "2020-01-24"))
// returns 2

Feel free to clone or fork this project: https://github.com/deanilvincent/random-word-by-letter.git

Contribution & pull request is welcome!

I'll be glad if you give this project a ★ on Github :))

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Install

npm i date-range-diff

DownloadsWeekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

4.26 kB

Total Files

6

Last publish

Collaborators

  • avatar