README.md
497 Bytes
get-prime-factors
Get prime factors.
Installation
npm install get-prime-factors --save
Usage
import getPrimeFactors from 'get-prime-factors';
getPrimeFactors(91); // [7,13]
getPrimeFactors(127381); // [17,59,127]
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