get-divisors
v1.0.0
Published
Get divisors.
Downloads
14
Readme
get-divisors
Installation
npm install get-divisors --save
Usage
import getDivisors from 'get-divisors';
getDivisors(1231); // [1,1231]
getDivisors(10); // [1,2,5,10]
getDivisors(99); // [1,3,9,11,33,99]
Tests
npm test
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
Release History
- 1.0.0 Initial release