node-find-dividers
Find all dividers for a given number.
Usage
const findDividers = require("find-dividers");
let divs = findDividers(100);
console.log(divs); // => [1, 2, 4, 5, 10, 20, 25, 50, 100]
API
Can be found in the wiki.
Find all dividers for a given number.
const findDividers = require("find-dividers");
let divs = findDividers(100);
console.log(divs); // => [1, 2, 4, 5, 10, 20, 25, 50, 100]
Can be found in the wiki.
npm i find-dividers
0
1.0.4
MIT
6.54 kB
11