/least-common-multiple

Primary LanguageJavaScriptMIT LicenseMIT

least-common-multiple

Coverage Status Build Status

Computes the least common multiple of the given integers.

Install

$ npm i least-common-multiple

Usage

import lcm from 'least-common-multiple'

lcm(12, 18) // 36

Test

$ npm test

Build

$ npm run build

Related

greatest-common-divisor

License

MIT