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/math-base-special-roundn
Round a double-precision floating-point number to the nearest multiple of 10^n.
15.4k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/random-base-uniform
Uniformly distributed pseudorandom numbers.
15.3k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
cornerstone-math
Math and computation geometry functionality for cornerstone
15.2k+48%-4 years ago
0.1.10
ESM + CommonJSNoneNumbers and maths
chai-bn
Chai assertions for comparing arbitrary-precision integers using the bignumber.js library
15.1k+44%-4 years ago
0.3.1
CommonJSBundledNumbers and maths, Testing
json-bigint-fixes
JSON.parse with bigints support
15k+581%-2 years ago
1.1.0
CommonJSNoneNumbers and maths
@cardanosolutions/json-bigint
JSON.parse with bigint support and correct handling of scientific notation
14.5k---9 months ago
1.1.0
CommonJSNoneNumbers and maths
deverything
Everything you need for Dev
14.3k+631%-1 month ago
5.8.1
ESM + CommonJSBundledTesting, Utility libraries
nerdamer
javascript light-weight symbolic math expression evaluator
14.2k+234%-4 years ago
1.1.13
CommonJSBundledNumbers and maths
@stdlib/random-base-improved-ziggurat
Normally distributed pseudorandom numbers using the improved Ziggurat method.
13.7k---7 months ago
0.2.2
CommonJSBundledNumbers and maths
@stdlib/math-base-special-tan
Evaluate the tangent of a number.
12.8k---7 months ago
0.3.1
CommonJSBundledNumbers and maths
@stdlib/math-base-special-kernel-tan
Compute the tangent of a double-precision floating-point number on [-π/4, π/4].
12.7k---7 months ago
0.2.4
CommonJSBundledNumbers and maths
ecma-proposal-math-extensions
Tests and a polyfill for the ES2017 Math Extensions Proposal
11.6k+301%-10 years ago
0.0.2
CommonJSNoneNumbers and maths
math-codegen
Generates code from mathematical expressions
11.3k+334%-5 months ago
0.4.3
CommonJSNoneNumbers and maths
interval-arithmetic
An implementation of an algebraically closed interval system of the extended real number set
11k+300%-8 months ago
1.1.3
ESM + CommonJSBundledNumbers and maths
quaternion
The RAW rotation library using quaternions
10.8k+34%-1 year ago
2.2.0
ESM + CommonJSBundledNumbers and maths
@stdlib/random-base-discrete-uniform
Discrete uniform distributed pseudorandom numbers.
10.8k---7 months ago
0.2.2
CommonJSBundledNumbers and maths
@stdlib/complex-real
Return the real component of a double-precision complex floating-point number.
10k---2 years ago
0.2.1
CommonJSBundledNumbers and maths
@stdlib/math-base-special-binomcoefln
Compute the natural logarithm of the binomial coefficient.
9.9k---7 months ago
0.3.1
CommonJSBundledNumbers and maths
@stdlib/random-base-beta
Beta distributed pseudorandom numbers.
9.9k---7 months ago
0.2.2
CommonJSBundledNumbers and maths
@stdlib/complex-imag
Return the imaginary component of a double-precision complex floating-point number.
9.9k---2 years ago
0.2.1
CommonJSBundledNumbers and maths
@stdlib/complex-imagf
Return the imaginary component of a single-precision complex floating-point number.
9.9k---2 years ago
0.2.1
CommonJSBundledNumbers and maths
@stdlib/complex-realf
Return the real component of a single-precision complex floating-point number.
9.9k---2 years ago
0.2.1
CommonJSBundledNumbers and maths
subscript
Modular expression parser & evaluator
9.6k+121%-6 days ago
10.8.0
ESM onlyBundledParsers and serialisers, Numbers and maths
@stdlib/stats-binomial-test
Exact test for the success probability in a Bernoulli experiment.
9.4k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
math-clamp-x
Clamp a number to limits.
9.3k+9%-7 years ago
3.2.2
ESM + CommonJSNoneNumbers and maths, DOM and browser utilities
trendline
Generate a trendline using linear regression
9.3k+169%-8 months ago
1.1.0
ESM + CommonJSBundledCharts and data visualisation, Numbers and maths
react-string-format
Formats string using string, number, and react components as paramaters
9.2k+11%-9 months ago
1.5.0
CommonJSBundledReact, TypeScript tooling
@stdlib/math-base-ops-umul
Perform C-like multiplication of two unsigned 32-bit integers.
8.8k---2 years ago
0.2.2
CommonJSBundledNumbers and maths
@stdlib/blas-ext-base-gsumpw
Calculate the sum of strided array elements using pairwise summation.
8.6k---7 months ago
0.3.1
CommonJSBundledNumbers and maths
deconstruct-number-format
deconstruct a number format eg '-£#,##0.##0' and return a set of parameters to describe the format
8.5k+15%--
0.0.1
CommonJSNoneNumbers and maths
@kwsites/math-sum
Gets the sum of values
8.4k---5 years ago
2.5.0
CommonJSBundledNumbers and maths
webr
The statistical programming language R compiled into WASM for use in a web browser and node.
8.3k+2102%--
0.6.0
ESM + CommonJSBundledNumbers and maths
numerable
Number formatting library for Javascript and Node.js apps
8k-15%-5 years ago
0.3.15
ESM + CommonJSNoneNumbers and maths, TypeScript tooling
text-readability-ts
npm package includes TypeScript and is designed to calculate various statistics from text in order to determine the readability, complexity, and grade level of a given corpus.
7.8k+262%-2 years ago
1.0.11
ESM + CommonJSBundledTypeScript tooling, Numbers and maths
random-ua
Randomly generates User-Agent strings based on actual usage statistics from Wikimedia.
7.6k+928%-12 years ago
0.0.6
CommonJSNoneNumbers and maths
@stdlib/random-base-gamma
Gamma distributed pseudorandom numbers.
7.4k---7 months ago
0.2.2
CommonJSBundledNumbers and maths
react-mathjax
React component to render math using MathJax
7.4k+20%-8 years ago
1.0.1
CommonJSNoneReact, Numbers and maths
ratex-react-native
Native LaTeX rendering for React Native (no WebView)
7.1k--1 month ago
0.1.14
CommonJSBundledNumbers and maths, React
@excalidraw/math
Excalidraw math functions
6.8k---1 year ago
0.18.0-f0063e113
ESM onlyBundledNumbers and maths, 3D, WebGL and game engines
@thi.ng/timestamp
Timestamp getter wrapping (in order of preference) `process.hrtime.bigint()`, `performance.now()` or `Date.now()`
6.7k---30 days ago
1.1.47
ESM onlyBundledDate and time, TypeScript tooling
bigint-conversion
Convert to/from BigInt from/to Buffer, ArrayBuffer, hex string, utf8-encoded text string.
6.7k-12%-2 years ago
2.4.3
ESM + CommonJSBundledNumbers and maths
math-float64-get-high-word
Returns a 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number.
6.5k-1%-10 years ago
1.0.0
CommonJSNoneNumbers and maths
math-float64-exponent
Returns an integer corresponding to the unbiased exponent of a double-precision floating-point number.
6.5k-8%-10 years ago
1.0.0
CommonJSNoneNumbers and maths
json-bigint-native
JSON.parse with bigints support
6.3k+23%-4 years ago
1.2.0
CommonJSBundledNumbers and maths
@stdlib/random-array-tools-nullary
Constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
6.3k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/stats-base-variancepn
Calculate the variance of a strided array using a two-pass algorithm.
6.2k---2 years ago
0.2.2
CommonJSBundledNumbers and maths
chai-bignumber
Chai assertions for comparing arbitrary-precision decimals using the bignumber.js library
6.1k+18%-4 years ago
3.1.0
CommonJSNoneNumbers and maths
@stdlib/random-array-tools-binary
Constructor for creating arrays filled with pseudorandom values drawn from a binary PRNG.
6.1k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
@stdlib/random-array-tools-binary-factory
Create a factory function for generating pseudorandom values drawn from a binary PRNG.
6k---7 months ago
0.2.3
CommonJSBundledNumbers and maths
financial-arithmetic-functions
A set of functions for doing math on numbers without floating point numbers
5.9k+1462%-9 months ago
4.1.0
ESM + 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.