1.0.1 • Published 7 years ago

hakim-factor v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

Hakim factors

This npm package find the factors of a particular number using regular loop logic

Getting Started

To use this npm package, simply install it with

npm install --save hakim-factor

Example

Usage example

const factors = require('hakim-factor')

To store it to a variable

let result = factors.hakimFactor(30)

To print in console

factors.hakimFactor(30, 'print')