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.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i date-range-diff

    Weekly Downloads

    5

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.26 kB

    Total Files

    6

    Last publish

    Collaborators

    • dvincent333