Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 2.43 KB

README.md

File metadata and controls

32 lines (25 loc) · 2.43 KB

Number theory for integers for JavaScript. See docs.

⚠️ Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import * as double from '@arithmetic-type/double';
import {factorizer} from '@number-theoretic/integers';

const factorize = factorizer(double);

[...factorize(999)]; // 3 3 3 37

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size