find-dividers

1.0.4 • Public • Published

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.

Related

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i find-dividers

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

6.54 kB

Total Files

11

Last publish

Collaborators

  • axelrindle