# dates-in-month

> A nodejs package to get dates in a month in ISO format

Latest version **1.1.2** (published 2021-02-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install dates-in-month
pnpm add dates-in-month
yarn add dates-in-month
bun add dates-in-month
```

## 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.1.2 |
| Published | 2021-02-28 |
| First published | 2021-02-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | David G. Aladeusi |
| Maintainers | oaladeusi |
| Keywords | NodeJS, JavaScript, JS, dates in month, dates, months, dates-in-month, month, days, year, date, utc, number, count |

## Links

- npm: https://www.npmjs.com/package/dates-in-month
- Repository: https://github.com/realdavidalad/dates-in-month
- Issues: https://github.com/realdavidalad/dates-in-month/issues
- npm.io page: https://npm.io/package/dates-in-month

## Dependencies (1)

- [days-in-month](https://npm.io/package/days-in-month.md) ^0.1.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.1.2 (latest) — 2021-02-28
- 1.1.1 — 2021-02-28
- 1.1.0 — 2021-02-28
- 1.0.1 — 2021-02-28
- 1.0.0 — 2021-02-28

## README

# dates-in-month

> A nodejs package to get dates in a month in ISO format.

[![NPM](https://img.shields.io/npm/v/dates-in-month.svg)](https://img.shields.io/npm/v/dates-in-month) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save dates-in-month
```

## Usage

- **getDatesInMonth()**
> This method accepts object of month and year and return array of dates in the month.

```jsx

ES6
import {getDatesInMonth} from 'dates-in-month'

ES5
var {getDatesInMonth} = require('dates-in-month');

Usage of getDatesInMonth

console.log(getDatesInMonth({month:01,year:1943})); //Output: ['01-01-1943', '02-01-1943', '03-01-1943', ......, '31-01-1943']
console.log(getDatesInMonth({month:01,year:1943,format:1})); //Output: ['01-01-1943', '02-01-1943', '03-01-1943', ......, '31-01-1943']
console.log(getDatesInMonth({month:01,year:1943,format:-1})); //Output: ['1943-01-01', '1943-01-02', '1943-01-03', ......, '1943-01-31']


```

## License

MIT © [David G. Aladeusi](https://github.com/realdavidalad)

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