Package Exports
- @yetnt/ump
- @yetnt/ump/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yetnt/ump) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Useless Math Package
I mean.. Do you really need this soon to be multi mathemetically functioning package? (if that even makes sense)
Installation
npm i @yetnt/ump
const Ump = require('@yetnt/ump')
Features
What can this do?
Prime Factorization
const Ump = require'(@yetnt/ump')
Ump.primeFactorize(50) // [2, 5, 5]
Ump.primeFactorize(5000) // [2, 2, 2, 5, 5, 5, 5]
Ump.primeFactorize(93928893) // [3, 17, 103, 17881]
Ump.primeFactorize(3) // [3]
Ratio(s)
const Ump = require('@yetnt/ump')
Ump.DinRatio(500, 3, 2) // [300, 200]