factor

0.0.1 • Public • Published

factor

factor numbers

Installation

With component:

$ component install component/factor

With node.js:

$ npm install factor

Example

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

API

factor(n)

Factor n into prime numbers.

Test

npm install
make test

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i factor

Weekly Downloads

14

Version

0.0.1

License

none

Last publish

Collaborators

  • timaschew
  • clintwood
  • trevorgerhardt
  • thehydroimpulse
  • mattmueller
  • tootallnate
  • lukeed
  • stephenmathieson
  • hughsk
  • jonathanong
  • jongleberry