# get-current-age

> Returns age based on input date of birth

Latest version **0.0.2** (published 2023-04-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install get-current-age
pnpm add get-current-age
yarn add get-current-age
bun add get-current-age
```

## 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.2 |
| Published | 2023-04-17 |
| First published | 2023-04-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | johna-123 |
| Maintainers | johna-123 |
| Keywords | age, date-of-birth, birthday |

## Links

- npm: https://www.npmjs.com/package/get-current-age
- npm.io page: https://npm.io/package/get-current-age

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2023-04-17
- 0.0.1 — 2023-04-17
- 0.0.0 — 2023-04-14

## README

# get-current-age

This package returns the current age depending on the birthdate you input.

### Installation

Install the package:

```bash
npm install get-current-date
```

### Usage

Include the package in your JavaScript:
```javascript
const age = require("get-current-date");
```
Get age:
```javascript
const day = 30,
      month = 9,
      year = 2007;
       
const myAge = age(day, month, year);

console.log("I am " + myAge + " years old");
```

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