
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
This repository will help you to get exact age and minor or adulst status from date string.
This Package will help you to get exact age and minor or adulst status from Date of Birth to current Date or some other Date.
npm i -S kh71-age-calculator
var calculateFullAge = require('kh71-age-calculator');
var getfullAge = calculateFullAge.getFullAge('birthDate'); // In yyyy-mm-dd format. example: 1998-12-25
console.log(getfullAge)
{ "years":xx, "months":xx, "days":xx }
var getfullAge = calculateFullAge.getFullAge('birthDate','otherDate'); // In yyyy-mm-dd format. Example: 1999-12-25, 2022-10-31
console.log(getfullAge)
{ "years": 22, "months": 10, "days": 6 }
var ageStatus = calculateFullAge.getAgeStatus('birthDate'); In yyyy-mm-dd format. Example: 1999-12-25
console.log(ageStatus);
output: "Adult"
var ageStatus = calculateFullAge.getAgeStatus('birthDate','otherDate'); In yyyy-mm-dd format. example: 1998-12-25, 2022-10-31
console.log(ageStatus);
output: "Adult"
FAQs
This repository will help you to get exact age and minor or adulst status from date string.
We found that @kh71/age demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.