Name Last Update
..
dist Loading commit data...
src Loading commit data...
test Loading commit data...
.npmignore Loading commit data...
README.md Loading commit data...
package.json Loading commit data...
wallaby.js Loading commit data...

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