hcf-calc

1.0.7 • Public • Published

NPM Version NPM License NPM Downloads NPM Total Downloads

HCF-Calc

A Package to calculate the Highest Common Factor of any two numbers.

Install:

npm install hcf-calc

Usage:

import hcfCalc from 'hcf-calc';

console.log(hcfCalc(12, 16));

This will log the HCF- 4 in this case.

/hcf-calc/

    Package Sidebar

    Install

    npm i hcf-calc

    Weekly Downloads

    0

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    2.72 kB

    Total Files

    4

    Last publish

    Collaborators

    • synic-dx