# date-range-diff

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

Latest version **1.0.0** (published 2020-01-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install date-range-diff
pnpm add date-range-diff
yarn add date-range-diff
bun add date-range-diff
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-01-29 |
| First published | 2020-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | deanilvincent |
| Maintainers | dvincent333 |
| Keywords | date, date-diff, date-difference, difference, date, diff, range, diff, day, between, 2, dates |

## Links

- npm: https://www.npmjs.com/package/date-range-diff
- Repository: https://github.com/deanilvincent/date-range-diff
- Homepage: https://github.com/deanilvincent/date-range-diff#readme
- Issues: https://github.com/deanilvincent/date-range-diff/issues
- npm.io page: https://npm.io/package/date-range-diff

## Dependencies (2)

- [chai](https://npm.io/package/chai.md) ^4.2.0
- [mocha](https://npm.io/package/mocha.md) ^7.0.1

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-01-29
- 0.0.1 — 2020-01-29

## README

[![Build Status](https://travis-ci.com/deanilvincent/date-range-diff.svg?branch=master)](https://travis-ci.com/deanilvincent/date-range-diff)

# 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](https://github.com/deanilvincent/date-range-diff) :))

### License

This project is licensed under the MIT License - see the  [LICENSE.md](https://github.com/deanilvincent/date-range-diff/blob/master/LICENSE)  file for details.

---
_Source: https://npm.io/package/date-range-diff · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
