factor

factor numbers

factor

factor numbers

With component:

$ component install component/factor

With node.js:

$ npm install factor
factor(4) // [2, 2] 
factor(15) // [3, 5] 
factor(25) // [5, 5] 
factor(27) // [3, 3, 3] 

Factor n into prime numbers.

npm install
make test

MIT