Computes the greatest common divisor
$ npm i -g greatest-common-divisor
import gcd from 'greatest-common-divisor'
gcd(12, 18) // 6
Computes the greatest common divisor
$ npm i -g greatest-common-divisor
import gcd from 'greatest-common-divisor'
gcd(12, 18) // 6