date-range-diff

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

Usage no npm install needed!

<script type="module">
  import dateRangeDiff from 'https://cdn.skypack.dev/date-range-diff';
</script>

README

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.