factors
import { factors } from "https://raw.githubusercontent.com/JOTSR/Denum/master/mod.ts";It takes a number and returns a map of the prime factors of that number and the number of times they occur
function factors<T extends number | bigint>(n: T): Map<T, T>;