1.0.0 • Published 4 years ago
countyearssince v1.0.0
Count years since
Install
yarn add countyearssince
or
npm install countyearssince
Usage
const countYearsSince = require('countyearssince');
or
import countYearsSince from 'countyearssince';
and then
countYearsSince(2000) // should give 20 if we are in 2020
1.0.0
4 years ago