1.1.1 • Published 4 years ago

errorsparty.dev-birthdays v1.1.1

Weekly downloads
3
License
MIT
Repository
-
Last release
4 years ago

errorsparty.dev-birthdays

A very simple helper module to calculate a person's age.

Example:

import { BirthDate } from "errorsparty.dev-birthdays";

// compact format: yyyymmdd
const bday = BirthDate.from(20020603).age()
// -> 18
// This was written in 2020, this result will differ in 2021+
1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago