Skip to content

famedaxolotl/pfactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM version License NPM monthly downloads NPM total downloads Github Link

pFactor

A simple tool to return prime factors of a given number

Install:

npm install pfactor

Usage:

const pFactor = require('pfactor');

console.log(pFactor(12));

This will log the prime factors as an array (in ascending order): [2,2,3]

About

Find prime factors of a number

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published