npm.io
1.0.0 • Published 10 years ago

greatest-common-divisor

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0

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

License

MIT