# getmonthlist

> Input the month and year, Output the data for the current month

Latest version **1.0.6** (published 2023-07-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install getmonthlist
pnpm add getmonthlist
yarn add getmonthlist
bun add getmonthlist
```

## 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.6 |
| Published | 2023-07-21 |
| First published | 2019-11-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | hjdtl |
| Maintainers | hjdtl |
| Keywords | Javascript, Date, utils, Year, Month, calendar |

## Links

- npm: https://www.npmjs.com/package/getmonthlist
- npm.io page: https://npm.io/package/getmonthlist

## 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.6 (latest) — 2023-07-21
- 1.0.5 — 2019-12-19
- 1.0.4 — 2019-12-01
- 1.0.3 — 2019-12-01
- 1.0.2 — 2019-11-27
- 1.0.1 — 2019-11-27
- 1.0.0 — 2019-11-27

## README

# getMonthList

Input the month and year, Output the data for the current month

# Usage
```javascript
import getMonthList from 'getmonthlist'

// November 2019
getMonthList(2019, 10) // [{year: 2019, month: 10, day: 1, week: 5}, ..., {year: 2019, month: 10, day: 30, week: 6}]

// June 2017
getMonthList(2017, 7) // [{year: 2017, month: 7, day: 1, week: 6}, ..., {year: 2017, month: 7, day: 31, week: 1}]

// default is current time
getMonthList() // [{year: 2019, month: 10, day: 1, week: 5}, ..., {year: 2019, month: 10, day: 30, week: 6}]
```

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