# nm-human-date-range

> A Node Module for formatting date ranges as a human might write them.

Latest version **1.0.0** (published 2017-06-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install nm-human-date-range
pnpm add nm-human-date-range
yarn add nm-human-date-range
bun add nm-human-date-range
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-06-02 |
| First published | 2017-06-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | joabetc |
| Maintainers | joabetc |
| Keywords | date |

## Links

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

## Recent versions

- 1.0.0 (latest) — 2017-06-02

## README

# nm-human-date-range <img src="https://img.shields.io/badge/Project%20Type-Node%20Module-brightgreen.svg" /> <img src="https://img.shields.io/badge/Project%20Stage-Development-yellowgreen.svg" />
A Node Module for formatting date ranges as a human might write them.

# Technologies/Languages

* [NodeJS](https://nodejs.org/)
* [ES2015/ES6](http://es6-features.org/) 
* [Babel](http://babeljs.io/)
* [Rollup](https://rollupjs.org/)
* [Jest](https://facebook.github.io/jest/)

# Usage

Use either `require` or `import`.

Sample:
````
var humanDateRange = require("nm-human-date-range");

var hDateRange = humanDateRange({
      startDate: new Date(2017, 0, 1),
      endDate: new Date(2017, 0, 6)
      });
````

Or if you prefer you can play around with [RunKit](https://runkit.com/joabetc/node-module-nm-human-date-range-sample) or even play bit with it on [StackBlitz](https://stackblitz.com/edit/nm-human-date-range?embed=1&file=index.js)

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