# node-datediffs

> Module for calculate difference bettwen two date

Latest version **0.0.1** (published 2018-04-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-datediffs
pnpm add node-datediffs
yarn add node-datediffs
bun add node-datediffs
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-04-01 |
| First published | 2018-04-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | devunivers |
| Maintainers | maxx21 |

## Links

- npm: https://www.npmjs.com/package/node-datediffs
- Repository: https://github.com/devunivers/node-datediffs
- Homepage: https://github.com/devunivers/node-datediffs#readme
- Issues: https://github.com/devunivers/node-datediffs/issues
- npm.io page: https://npm.io/package/node-datediffs

## Recent versions

- 0.0.1 (latest) — 2018-04-01

## README

node-datediff [![Build Status](https://travis-ci.org/dmfilipenko/datediff.svg?branch=master)](https://travis-ci.org/dmfilipenko/datediff)
========

Module to calculate difference between two date

Fork from [datediff](https://www.npmjs.com/package/datediff)
## Example

```js
var datediff = require('node-datediffs');
var from = new Date(2012, 8, 0,0,10, 12),
    to = new Date(2014, 0, 1, 0, 56, 13),
    diff;

diff = datediff(from, to);
console.log( diff )

```


```js
{
	years: 1,
	months: 4,
	days: 3
	hours: 2,
	minutes: 46,
	seconds: 1
}
```

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