Package category
Numbers and maths
Big numbers, decimals, statistics, random numbers and formatting.
401 packages0 comparisons
Packages compared
401 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| is-bigint Is this value an ES BigInt? | 66.5m | +74% | - | 1 year ago 1.1.0 | CommonJS | Bundled | Numbers and maths | |
| has-bigints Determine if the JS environment has BigInt support. | 65.8m | +67% | - | 1 year ago 1.1.0 | CommonJS | Bundled | Numbers and maths | |
| decimal.js An arbitrary-precision Decimal type for JavaScript. | 63.9m | +142% | - | 1 year ago 10.6.0 | ESM + CommonJS | Bundled | Numbers and maths | |
| long A Long class for representing a 64-bit two's-complement integer value. | 63.6m | +118% | - | 1 year ago 5.3.2 | ESM + CommonJS | Bundled | Numbers and maths | |
| fraction.js The RAW rational numbers library | 45.2m | +111% | - | 1 year ago 5.3.4 | ESM + CommonJS | Bundled | Numbers and maths | |
| bignumber.js A library for arbitrary-precision decimal and non-decimal arithmetic | 43.2m | +144% | - | 2 months ago 11.1.5 | ESM + CommonJS | Bundled | Numbers and maths | |
| decimal.js-light An arbitrary-precision Decimal type for JavaScript. | 42.2m | +561% | - | 5 years ago 2.5.1 | ESM + CommonJS | Bundled | Numbers and maths | |
| json-bigint JSON.parse with bigints support | 37.9m | +178% | - | 6 years ago 1.0.0 | CommonJS | None | Numbers and maths | |
| is-decimal Check if a character is decimal | 37.4m | +216% | - | 4 years ago 2.0.1 | ESM only | Bundled | Numbers and maths | |
| @xtuc/long A Long class for representing a 64-bit two's-complement integer value. | 34.8m | +50% | - | 7 years ago 4.2.2 | CommonJS | Bundled | Numbers and maths | |
| big.js A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic | 29.1m | +27% | - | 1 year ago 7.0.1 | ESM + CommonJS | None | Numbers and maths | |
| jsbn The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers. | 22.4m | -31% | - | 9 years ago 1.1.0 | CommonJS | None | Numbers and maths | |
| katex Fast math typesetting for the web. | 18.8m | +483% | - | 1 day ago 0.18.9 | ESM + CommonJS | Bundled | Numbers and maths | |
| anynum Normalize all Unicode decimal digits (Devanagari, Arabic, Thai, etc.) to ASCII numerals. Zero dependencies, performance-first. | 18.4m | - | - | 3 months ago 1.0.1 | ESM only | None | Numbers and maths | |
| miller-rabin Miller Rabin algorithm for primality test | 10.5m | +10% | - | 8 years ago 4.0.1 | CommonJS | None | Numbers and maths | |
| @sideway/formula Math and string formula parser. | 10.5m | +24% | - | 3 years ago 3.0.1 | CommonJS | Bundled | Numbers and maths, Parsers and serialisers | |
| json-with-bigint JS library that allows you to easily serialize and deserialize data with BigInt values | 8m | +311219% | - | 1 month ago 3.5.12 | ESM + CommonJS | Bundled | Numbers and maths | |
| micromark-extension-math micromark extension to support math (`$C_L$`) | 8m | +410% | - | 2 years ago 3.1.0 | ESM only | Bundled | Numbers and maths, Markdown | |
| mdast-util-math mdast extension to parse and serialize math | 6.6m | +459% | - | 3 years ago 3.0.0 | ESM only | Bundled | Numbers and maths | |
| @hapi/formula Math and string formula parser. | 6.2m | +303% | - | 2 months ago 4.0.0 | ESM only | Bundled | Numbers and maths, Parsers and serialisers | |
| remark-math remark plugin to parse and stringify math | 5.9m | +429% | - | 3 years ago 6.0.0 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| rehype-katex rehype plugin to transform inline and block math with KaTeX | 5.2m | +526% | - | 2 years ago 7.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| num2fraction Convert number to fraction | 4.9m | -17% | - | 11 years ago 1.2.2 | CommonJS | None | Numbers and maths | |
| math-expression-evaluator A flexible math expression evaluator | 2.6m | +76% | - | 1 year ago 2.0.7 | CommonJS | Bundled | Numbers and maths | |
| mathjs Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif | 2.6m | +107% | - | 5 months ago 15.2.0 | ESM + CommonJS | Bundled | Numbers and maths | |
| sylvester node.js implementation of James Coglan's "Sylvester" matrix math library. | 933k | +320% | - | 14 years ago 0.0.21 | CommonJS | None | Numbers and maths | |
| lossless-json Parse JSON without risk of losing numeric information | 836.7k | +106% | - | 1 month ago 4.3.1 | ESM + CommonJS | Bundled | Numbers and maths | |
| vfile-statistics vfile utility to count messages per category: failures, warnings, etc | 831.2k | +47% | - | 3 years ago 3.0.0 | ESM only | Bundled | Numbers and maths | |
| @math.gl/web-mercator Utilities for perspective-enabled Web Mercator projections | 782k | - | - | - | 2 years ago 4.1.0 | ESM + CommonJS | Bundled | Numbers and maths, 3D, WebGL and game engines |
| @growthbook/growthbook [GrowthBook](https://www.growthbook.io) is an open source Feature Flagging and Experimentation platform. | 725.8k | - | - | - | 1 month ago 1.7.0 | ESM + CommonJS | Bundled | Monitoring and error tracking, Numbers and maths |
| bigint-buffer bigint to buffer conversion with native support | 724.2k | +53% | - | 6 years ago 1.1.5 | CommonJS | Bundled | Numbers and maths, Node.js utilities | |
| @math.gl/polygon Polygon/polyline processing utilities | 691.7k | - | - | - | 2 years ago 4.1.0 | ESM + CommonJS | Bundled | Numbers and maths, 3D, WebGL and game engines |
| vega-statistics Statistical routines and probability distributions. | 659.3k | +234% | - | 1 year ago 2.0.0 | ESM only | None | Numbers and maths, Charts and data visualisation | |
| number-to-bn A simple method that will convert numbers, hex, BN or bignumber.js object into a BN.js object. | 592.5k | -9% | - | 9 years ago 1.7.0 | CommonJS | None | Numbers and maths | |
| @formatjs/bigdecimal BigInt-backed decimal arithmetic for ECMA-402 polyfills | 590.4k | - | - | - | 2 months ago 0.2.7 | ESM only | Bundled | Internationalisation, Numbers and maths |
| @stdlib/math-base-napi-binary C APIs for registering a Node-API module exporting an interface for invoking a binary numerical function. | 586k | - | - | - | 7 months ago 0.3.3 | CommonJS | Bundled | Numbers and maths |
| @stdlib/constants-float64-ninf Double-precision floating-point negative infinity. | 580.3k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Numbers and maths |
| mathjax-full Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as | 567.7k | +119% | - | 4 years ago 3.2.2 | CommonJS | None | Accessibility, Numbers and maths | |
| multimath Core to create fast image math in WebAssembly and JS. | 558k | +344% | - | 4 months ago 3.0.0 | CommonJS | Bundled | Numbers and maths | |
| @stdlib/constants-float64-high-word-exponent-mask High word mask for the exponent of a double-precision floating-point number. | 542.5k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Numbers and maths |
| @stdlib/constants-float64-pinf Double-precision floating-point positive infinity. | 539.3k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Numbers and maths |
| @stdlib/math-base-napi-unary C APIs for registering a Node-API module exporting an interface for invoking a unary numerical function. | 535k | - | - | - | 7 months ago 0.2.7 | CommonJS | Bundled | Numbers and maths |
| gl-mat4 gl-matrix's mat4, split into smaller pieces | 530.7k | +65% | - | 8 years ago 1.2.0 | CommonJS | None | Numbers and maths | |
| @stdlib/math-base-special-abs Compute the absolute value of a double-precision floating-point number. | 526.5k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Numbers and maths |
| @stdlib/constants-float64-smallest-normal Smallest positive double-precision floating-point normal number. | 502.1k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Numbers and maths |
| @stdlib/constants-float64-exponent-bias The bias of a double-precision floating-point number's exponent. | 501.9k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Numbers and maths |
| @stdlib/complex-reim Return the real and imaginary components of a double-precision complex floating-point number. | 501.6k | - | - | - | 2 years ago 0.2.1 | CommonJS | Bundled | Numbers and maths |
| @stdlib/math-base-special-copysign Return a double-precision floating-point number with the magnitude of x and the sign of y. | 498.9k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Numbers and maths |
| @stdlib/math-base-special-ldexp Multiply a double-precision floating-point number by an integer power of two. | 498.9k | - | - | - | 7 months ago 0.2.5 | CommonJS | Bundled | Numbers and maths |
| @stdlib/constants-float64-max-base2-exponent The maximum biased base 2 exponent for a double-precision floating-point number. | 498.8k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Numbers and maths |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.
- is-bigintIs this value an ES BigInt?
- has-bigintsDetermine if the JS environment has BigInt support.
- decimal.jsAn arbitrary-precision Decimal type for JavaScript.
- longA Long class for representing a 64-bit two's-complement integer value.
- fraction.jsThe RAW rational numbers library
- bignumber.jsA library for arbitrary-precision decimal and non-decimal arithmetic
- decimal.js-lightAn arbitrary-precision Decimal type for JavaScript.
- json-bigintJSON.parse with bigints support
- is-decimalCheck if a character is decimal
- @xtuc/longA Long class for representing a 64-bit two's-complement integer value.
- big.jsA small, fast, easy-to-use library for arbitrary-precision decimal arithmetic
- jsbnThe jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.
- katexFast math typesetting for the web.
- anynumNormalize all Unicode decimal digits (Devanagari, Arabic, Thai, etc.) to ASCII numerals. Zero dependencies, performance-first.
- miller-rabinMiller Rabin algorithm for primality test
- @sideway/formulaMath and string formula parser.
- json-with-bigintJS library that allows you to easily serialize and deserialize data with BigInt values
- micromark-extension-mathmicromark extension to support math (`$C_L$`)
- mdast-util-mathmdast extension to parse and serialize math
- @hapi/formulaMath and string formula parser.
- remark-mathremark plugin to parse and stringify math
- rehype-katexrehype plugin to transform inline and block math with KaTeX
- num2fractionConvert number to fraction
- math-expression-evaluatorA flexible math expression evaluator
- mathjsMath.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
- sylvesternode.js implementation of James Coglan's "Sylvester" matrix math library.
- lossless-jsonParse JSON without risk of losing numeric information
- vfile-statisticsvfile utility to count messages per category: failures, warnings, etc
- @math.gl/web-mercatorUtilities for perspective-enabled Web Mercator projections
- @growthbook/growthbook[GrowthBook](https://www.growthbook.io) is an open source Feature Flagging and Experimentation platform.
- bigint-bufferbigint to buffer conversion with native support
- @math.gl/polygonPolygon/polyline processing utilities
- vega-statisticsStatistical routines and probability distributions.
- number-to-bnA simple method that will convert numbers, hex, BN or bignumber.js object into a BN.js object.
- @formatjs/bigdecimalBigInt-backed decimal arithmetic for ECMA-402 polyfills
- @stdlib/math-base-napi-binaryC APIs for registering a Node-API module exporting an interface for invoking a binary numerical function.
- @stdlib/constants-float64-ninfDouble-precision floating-point negative infinity.
- mathjax-fullBeautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as
- multimathCore to create fast image math in WebAssembly and JS.
- @stdlib/constants-float64-high-word-exponent-maskHigh word mask for the exponent of a double-precision floating-point number.
- @stdlib/constants-float64-pinfDouble-precision floating-point positive infinity.
- @stdlib/math-base-napi-unaryC APIs for registering a Node-API module exporting an interface for invoking a unary numerical function.
- gl-mat4gl-matrix's mat4, split into smaller pieces
- @stdlib/math-base-special-absCompute the absolute value of a double-precision floating-point number.
- @stdlib/constants-float64-smallest-normalSmallest positive double-precision floating-point normal number.
- @stdlib/constants-float64-exponent-biasThe bias of a double-precision floating-point number's exponent.
- @stdlib/complex-reimReturn the real and imaginary components of a double-precision complex floating-point number.
- @stdlib/math-base-special-copysignReturn a double-precision floating-point number with the magnitude of x and the sign of y.
- @stdlib/math-base-special-ldexpMultiply a double-precision floating-point number by an integer power of two.
- @stdlib/constants-float64-max-base2-exponentThe maximum biased base 2 exponent for a double-precision floating-point number.
No comparisons for this package yet.