fac

factor

factor numbers

Showing:

Popularity

Downloads/wk

2

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

0.3KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial