# days-in-month

> get the number of days in the given month

Latest version **0.1.0** (published 2013-08-09) · MIT license · 0 weekly downloads

## Install

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

## 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.1.0 |
| Published | 2013-08-09 |
| First published | 2013-08-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | stephen mathieson |
| Maintainers | stephenmathieson |
| Keywords | date, days, month |

## Links

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

## 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

- 0.1.0 (latest) — 2013-08-09

## README

# days-in-month

  get the number of days in the given month (Gregorian calendar)

## Installation

  Install with [component(1)](http://component.io):

    $ component install stephenmathieson/days-in-month

  Install with [npm](https://npmjs.org):

    $ npm install days-in-month

## API

### `days(date)`

get the number of days in the month of the provided date

### `days(month)`

get the number of days in the provided month; assumes current year

### `days(year, month)`

get the number of days in the provided year/month pair

## License

  MIT

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