About GDPR-AgeOfMajority
Validate whether an individual is an adult according to GDPR (eu rules).
Install
npm install gdpr-age-of-majority --save
Usage
'use strict'; const AgeOfMajority = ; //Import validation function. const birthDate = '1967-05-01'; //Sample birth dateconst countryCode = 'IT'; //Italy console;