countyearssince
v1.0.0
Published
count years since a given year
Readme
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
