Skip to content
JS
Package category

Numbers and maths

Big numbers, decimals, statistics, random numbers and formatting.

401 packages0 comparisons

Packages compared

401 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
is-bigint
Is this value an ES BigInt?
66.5m+74%-1 year ago
1.1.0
CommonJSBundledNumbers and maths
has-bigints
Determine if the JS environment has BigInt support.
65.8m+67%-1 year ago
1.1.0
CommonJSBundledNumbers and maths
decimal.js
An arbitrary-precision Decimal type for JavaScript.
63.9m+142%-1 year ago
10.6.0
ESM + CommonJSBundledNumbers 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 + CommonJSBundledNumbers and maths
fraction.js
The RAW rational numbers library
45.2m+111%-1 year ago
5.3.4
ESM + CommonJSBundledNumbers and maths
bignumber.js
A library for arbitrary-precision decimal and non-decimal arithmetic
43.2m+144%-2 months ago
11.1.5
ESM + CommonJSBundledNumbers and maths
decimal.js-light
An arbitrary-precision Decimal type for JavaScript.
42.2m+561%-5 years ago
2.5.1
ESM + CommonJSBundledNumbers and maths
json-bigint
JSON.parse with bigints support
37.9m+178%-6 years ago
1.0.0
CommonJSNoneNumbers and maths
is-decimal
Check if a character is decimal
37.4m+216%-4 years ago
2.0.1
ESM onlyBundledNumbers 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
CommonJSBundledNumbers 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 + CommonJSNoneNumbers 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
CommonJSNoneNumbers and maths
katex
Fast math typesetting for the web.
18.8m+483%-1 day ago
0.18.9
ESM + CommonJSBundledNumbers 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 onlyNoneNumbers and maths
miller-rabin
Miller Rabin algorithm for primality test
10.5m+10%-8 years ago
4.0.1
CommonJSNoneNumbers and maths
@sideway/formula
Math and string formula parser.
10.5m+24%-3 years ago
3.0.1
CommonJSBundledNumbers 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 + CommonJSBundledNumbers and maths
micromark-extension-math
micromark extension to support math (`$C_L$`)
8m+410%-2 years ago
3.1.0
ESM onlyBundledNumbers and maths, Markdown
mdast-util-math
mdast extension to parse and serialize math
6.6m+459%-3 years ago
3.0.0
ESM onlyBundledNumbers and maths
@hapi/formula
Math and string formula parser.
6.2m+303%-2 months ago
4.0.0
ESM onlyBundledNumbers and maths, Parsers and serialisers
remark-math
remark plugin to parse and stringify math
5.9m+429%-3 years ago
6.0.0
ESM onlyBundledMarkdown, 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 onlyBundledMarkdown, Parsers and serialisers
num2fraction
Convert number to fraction
4.9m-17%-11 years ago
1.2.2
CommonJSNoneNumbers and maths
math-expression-evaluator
A flexible math expression evaluator
2.6m+76%-1 year ago
2.0.7
CommonJSBundledNumbers 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 + CommonJSBundledNumbers and maths
sylvester
node.js implementation of James Coglan's "Sylvester" matrix math library.
933k+320%-14 years ago
0.0.21
CommonJSNoneNumbers and maths
lossless-json
Parse JSON without risk of losing numeric information
836.7k+106%-1 month ago
4.3.1
ESM + CommonJSBundledNumbers and maths
vfile-statistics
vfile utility to count messages per category: failures, warnings, etc
831.2k+47%-3 years ago
3.0.0
ESM onlyBundledNumbers and maths
@math.gl/web-mercator
Utilities for perspective-enabled Web Mercator projections
782k---2 years ago
4.1.0
ESM + CommonJSBundledNumbers 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 + CommonJSBundledMonitoring and error tracking, Numbers and maths
bigint-buffer
bigint to buffer conversion with native support
724.2k+53%-6 years ago
1.1.5
CommonJSBundledNumbers and maths, Node.js utilities
@math.gl/polygon
Polygon/polyline processing utilities
691.7k---2 years ago
4.1.0
ESM + CommonJSBundledNumbers and maths, 3D, WebGL and game engines
vega-statistics
Statistical routines and probability distributions.
659.3k+234%-1 year ago
2.0.0
ESM onlyNoneNumbers 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
CommonJSNoneNumbers and maths
@formatjs/bigdecimal
BigInt-backed decimal arithmetic for ECMA-402 polyfills
590.4k---2 months ago
0.2.7
ESM onlyBundledInternationalisation, 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
CommonJSBundledNumbers and maths
@stdlib/constants-float64-ninf
Double-precision floating-point negative infinity.
580.3k---7 months ago
0.2.3
CommonJSBundledNumbers 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
CommonJSNoneAccessibility, Numbers and maths
multimath
Core to create fast image math in WebAssembly and JS.
558k+344%-4 months ago
3.0.0
CommonJSBundledNumbers 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
CommonJSBundledNumbers and maths
@stdlib/constants-float64-pinf
Double-precision floating-point positive infinity.
539.3k---7 months ago
0.2.3
CommonJSBundledNumbers 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
CommonJSBundledNumbers and maths
gl-mat4
gl-matrix's mat4, split into smaller pieces
530.7k+65%-8 years ago
1.2.0
CommonJSNoneNumbers 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
CommonJSBundledNumbers and maths
@stdlib/constants-float64-smallest-normal
Smallest positive double-precision floating-point normal number.
502.1k---7 months ago
0.2.3
CommonJSBundledNumbers 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
CommonJSBundledNumbers 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
CommonJSBundledNumbers 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
CommonJSBundledNumbers 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
CommonJSBundledNumbers 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
CommonJSBundledNumbers 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.

No comparisons for this package yet.