@myagecalc-tools/myagecalc
v1.0.1
Published
A lightweight utility to calculate exact age in years, months, days, and minutes.
Maintainers
Readme
MyAgeCalc Core
A lightweight, zero-dependency JavaScript utility to calculate exact age in years, months, and days.
This is the core logic powering MyAgeCalc.com, extracted for developers to use in their own applications.
Installation
npm install myagecalcUsage
const { calculateExactAge } = require('myagecalc-core');
const myAge = calculateExactAge('1995-05-15');
console.log(myAge);
// Output: { years: 29, months: 0, days: X }Advanced Features
If you need a ready-to-use, embeddable age calculator widget for your website, or want to track specific milestones (like turning 10,000 days old), check out our full web utility at myagecalc.com.
