New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

age-checker

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

age-checker

age checker npm package

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Introduction

Javascript library to calculate your age provide by your date of birth

About Package ?

ageChecker(dateOfBirth: String: required | format: 'YYYY-MM-DD')

Installation

npm install age-checker

Usage

const { ageChecker } = require("age-checker");

console.log(ageChecker("2002-09-22"));

Expected Output

Your Age: 21 years, 3 months & 24 days

Keywords

age-checker

FAQs

Package last updated on 15 Jan 2024

Did you know?

Socket

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.

Install

Related posts