greatest-common-divisor
v1.0.0
Published
Computes the greatest common divisor
Downloads
45
Maintainers
Readme
greatest-common-divisor
Computes the greatest common divisor
Install
$ npm i -g greatest-common-divisor
Usage
import gcd from 'greatest-common-divisor'
gcd(12, 18) // 6