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
@stdlib/constants-float64-smallest-subnormal
Smallest positive double-precision floating-point number.
58.2k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/math-base-special-gcd
Compute the greatest common divisor (gcd).
55.9k---7 months ago
0.3.2
CommonJSBundledNumbers and maths
@metamask/number-to-bn
A simple method that will convert numbers, hex, BN or bignumber.js object into a BN.js object.
55.8k---2 years ago
1.7.1
CommonJSNoneNumbers and maths
@stdlib/math-base-special-erfinv
Inverse error function.
55.1k---7 months ago
0.3.1
CommonJSBundledNumbers and maths
json-bigint-patch
JSON.parse with bigints support
52.1k-17%-10 months ago
0.0.9
CommonJSNoneNumbers and maths
@stdlib/math-base-special-betaln
Natural logarithm of the beta function.
51.6k---7 months ago
0.3.1
CommonJSBundledNumbers and maths
@matejmazur/react-katex
Display math in TeX with KaTeX and ReactJS
50k---6 years ago
3.1.3
ESM + CommonJSBundledNumbers and maths, React
@math.gl/proj4
Proj4js wrapper for conversion between geospatial CRS (coordinate reference systems)
49.4k---2 years ago
4.1.0
ESM + CommonJSBundledNumbers and maths, 3D, WebGL and game engines
@stdlib/math-base-special-betaincinv
Inverse incomplete beta function.
48.6k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/stats-base-dists-degenerate-pdf
Degenerate distribution probability density function (PDF).
47.7k---7 months ago
0.3.1
CommonJSBundledPDF and documents, Numbers and maths
round-to
Round a number to a specific number of decimal places: `1.234` → `1.2`
46.5k+23%-1 year ago
7.0.0
ESM onlyBundledNumbers and maths
random-seedable
Fully-fledged collection of both 32 and 64 bit seedable random number generators whose output precisely matches their original c/c++ implementations.
44.6k+908%-4 years ago
1.0.8
ESM onlyBundledNumbers and maths
browserify-bignum
A browserify implementation of node-bignum
43.4k-33%-12 years ago
1.3.0-2
CommonJSNoneNumbers and maths
round-precision
Round a number to a specified decimal precision
42.2k+21%-11 years ago
1.0.0
CommonJSNoneNumbers and maths
precision
Find the decimal precision of a given number
42.2k+6%-10 years ago
1.0.1
CommonJSNoneNumbers and maths
@stdlib/stats-base-dists-beta-pdf
Beta distribution probability density function (PDF).
41.3k---7 months ago
0.3.1
CommonJSBundledPDF and documents, Numbers and maths
@stdlib/stats-base-dists-normal-pdf
Normal distribution probability density function (PDF).
37.6k---7 months ago
0.3.1
CommonJSBundledPDF and documents, Numbers and maths
@thi.ng/base-n
Arbitrary base-n conversions w/ presets for base8/16/32/36/58/62/64/83/85, support for bigints and encoding/decoding of byte arrays
37.5k---30 days ago
2.7.73
ESM onlyBundledNumbers and maths, TypeScript tooling
nerdamer-prime
javascript light-weight symbolic math library
35.5k+16073%-2 months ago
1.5.0
ESM + CommonJSBundledNumbers and maths
jsxgraph
Interactive geometry, plotting, visualization
35.4k+438%--
1.13.3
ESM + CommonJSBundledCharts and data visualisation, Numbers and maths
@quartz-community/latex
LaTeX/KaTeX/MathJax/Typst math rendering plugin for Quartz
31.6k---10 days ago
1.0.0
ESM onlyBundledNumbers and maths
react-native-nitro-markdown
Fast native Markdown parser and renderer for React Native — CommonMark + GFM, streaming, headless AST, and math, powered by Nitro Modules and md4c
30.3k--today
0.12.5
ESM + CommonJSBundledParsers and serialisers, React
@stdlib/blas-base-gcopy
Copy values from x into y.
29.4k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
gl-vec4
gl-matrix's vec4, split into smaller pieces
28.6k-13%-11 years ago
1.0.1
CommonJSNoneNumbers and maths
@stdlib/random-base-mt19937
A 32-bit Mersenne Twister pseudorandom number generator.
28.1k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/complex-float64-real
Return the real component of a double-precision complex floating-point number.
26.4k---7 months ago
0.1.2
CommonJSBundledNumbers and maths
@stdlib/complex-float64-imag
Return the imaginary component of a double-precision complex floating-point number.
26.4k---7 months ago
0.1.2
CommonJSBundledNumbers and maths
@stdlib/complex-float32-real
Return the real component of a single-precision complex floating-point number.
26.3k---7 months ago
0.1.2
CommonJSBundledNumbers and maths
@stdlib/complex-float32-imag
Return the imaginary component of a single-precision complex floating-point number.
26.3k---7 months ago
0.1.2
CommonJSBundledNumbers and maths
mafs
React components for interactive, animated math visualizations.
26k+551%-1 year ago
0.21.0
ESM + CommonJSBundledNumbers and maths, React
calc-stats
Memory-Aware Statistical Calculations
24.4k-12%-2 years ago
2.6.0
CommonJSBundledNumbers and maths
@stdlib/stats
Standard library statistical functions.
24.2k---3 months ago
0.4.1
CommonJSBundledNumbers and maths
@react-input/number-format
React input component for formatted number input with locale-specific.
24.1k---1 year ago
2.0.3
ESM + CommonJSBundledNumbers and maths, React
gl-quat
gl-matrix's quaternion, split into smaller pieces
23.8k-21%-11 years ago
1.0.0
CommonJSNoneNumbers and maths
big-rat
A big integer rational number
23.1k-5%-9 years ago
1.0.4
CommonJSNoneNumbers and maths
fast-max
Quickest Way to get the Maximum Value of an Array of Numbers (Typed or Untyped)
22.7k-14%-2 years ago
0.5.1
CommonJSBundledNumbers and maths
fast-min
Quickest Way to get the Minimum Value of an Array of Numbers (Typed or Untyped)
22.7k-11%-2 years ago
0.4.0
CommonJSBundledNumbers and maths
@wordpress/latex-to-mathml
Convert LaTeX math syntax to MathML.
21.7k---2 days ago
1.24.0
ESM + CommonJSBundledNumbers and maths
swagger-stats
API Telemetry and APM. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices, based on express routes and Swagger (Open API) specification
20.7k-13%-3 years ago
0.99.7
CommonJSNoneMonitoring and error tracking, Numbers and maths
@stdlib/random-base-minstd
A linear congruential pseudorandom number generator (LCG) based on Park and Miller.
18.8k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/number-uint32-base-mul
Multiply two unsigned 32-bit integers.
18.8k---7 months ago
0.1.1
CommonJSBundledNumbers and maths
@stdlib/random-base-minstd-shuffle
A linear congruential pseudorandom number generator (LCG) whose output is shuffled.
18.6k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
number-format.js
Lightweight & Fast JavaScript Number Formatter
17.7k-50%-7 years ago
2.0.9
CommonJSBundledNumbers and maths, Internationalisation
@stdlib/random-base-randu
Uniformly distributed pseudorandom numbers between 0 and 1.
17.2k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/math-base-napi-ternary
C APIs for registering a Node-API module exporting an interface for invoking a ternary numerical function.
16.6k---7 months ago
0.3.2
CommonJSBundledNumbers and maths
@stdlib/math-base-assert-is-nonnegative-integer
Test if a finite double-precision floating-point number is a nonnegative integer.
16.5k---7 months ago
0.2.2
CommonJSBundledTesting, Numbers and maths
cldr-compact-number
Compact number formatting logic
16.3k+61%-6 years ago
0.4.0
ESM + CommonJSBundledNumbers and maths
@stdlib/constants-float64-max-base10-exponent
The maximum base 10 exponent for a double-precision floating-point number.
15.5k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/constants-float64-min-base10-exponent
The minimum base 10 exponent for a normal double-precision floating-point number.
15.5k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/constants-float64-min-base10-exponent-subnormal
The minimum base 10 exponent for a subnormal double-precision floating-point number.
15.5k---2 years ago
0.2.1
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.