1.0.3 • Published 4 years ago
countyearsuntil v1.0.3
Count years until
Install
yarn add countyearsuntil
or
npm install countyearsuntil
Usage
const countYearsUntil = require('countyearsuntil');
or
import countYearsUntil from 'countyearsuntil';
and then
countYearsUntil(2050) // should give 30 if we are in 2020