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 |
|---|---|---|---|---|---|---|---|---|
| @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 | CommonJS | Bundled | Numbers and maths |
| @stdlib/random-base-uniform Uniformly distributed pseudorandom numbers. | 15.3k | - | - | - | 7 months ago 0.2.3 | CommonJS | Bundled | Numbers and maths |
| cornerstone-math Math and computation geometry functionality for cornerstone | 15.2k | +48% | - | 4 years ago 0.1.10 | ESM + CommonJS | None | Numbers 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 | CommonJS | Bundled | Numbers and maths, Testing | |
| json-bigint-fixes JSON.parse with bigints support | 15k | +581% | - | 2 years ago 1.1.0 | CommonJS | None | Numbers and maths | |
| @cardanosolutions/json-bigint JSON.parse with bigint support and correct handling of scientific notation | 14.5k | - | - | - | 9 months ago 1.1.0 | CommonJS | None | Numbers and maths |
| deverything Everything you need for Dev | 14.3k | +631% | - | 1 month ago 5.8.1 | ESM + CommonJS | Bundled | Testing, Utility libraries | |
| nerdamer javascript light-weight symbolic math expression evaluator | 14.2k | +234% | - | 4 years ago 1.1.13 | CommonJS | Bundled | Numbers and maths | |
| @stdlib/random-base-improved-ziggurat Normally distributed pseudorandom numbers using the improved Ziggurat method. | 13.7k | - | - | - | 7 months ago 0.2.2 | CommonJS | Bundled | Numbers and maths |
| @stdlib/math-base-special-tan Evaluate the tangent of a number. | 12.8k | - | - | - | 7 months ago 0.3.1 | CommonJS | Bundled | Numbers 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 | CommonJS | Bundled | Numbers 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 | CommonJS | None | Numbers and maths | |
| math-codegen Generates code from mathematical expressions | 11.3k | +334% | - | 5 months ago 0.4.3 | CommonJS | None | Numbers 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 + CommonJS | Bundled | Numbers and maths | |
| quaternion The RAW rotation library using quaternions | 10.8k | +34% | - | 1 year ago 2.2.0 | ESM + CommonJS | Bundled | Numbers and maths | |
| @stdlib/random-base-discrete-uniform Discrete uniform distributed pseudorandom numbers. | 10.8k | - | - | - | 7 months ago 0.2.2 | CommonJS | Bundled | Numbers and maths |
| @stdlib/complex-real Return the real component of a double-precision complex floating-point number. | 10k | - | - | - | 2 years ago 0.2.1 | CommonJS | Bundled | Numbers and maths |
| @stdlib/math-base-special-binomcoefln Compute the natural logarithm of the binomial coefficient. | 9.9k | - | - | - | 7 months ago 0.3.1 | CommonJS | Bundled | Numbers and maths |
| @stdlib/random-base-beta Beta distributed pseudorandom numbers. | 9.9k | - | - | - | 7 months ago 0.2.2 | CommonJS | Bundled | Numbers 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 | CommonJS | Bundled | Numbers 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 | CommonJS | Bundled | Numbers 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 | CommonJS | Bundled | Numbers and maths |
| subscript Modular expression parser & evaluator | 9.6k | +121% | - | 6 days ago 10.8.0 | ESM only | Bundled | Parsers 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 | CommonJS | Bundled | Numbers and maths |
| math-clamp-x Clamp a number to limits. | 9.3k | +9% | - | 7 years ago 3.2.2 | ESM + CommonJS | None | Numbers and maths, DOM and browser utilities | |
| trendline Generate a trendline using linear regression | 9.3k | +169% | - | 8 months ago 1.1.0 | ESM + CommonJS | Bundled | Charts 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 | CommonJS | Bundled | React, 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 | CommonJS | Bundled | Numbers 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 | CommonJS | Bundled | Numbers 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 | CommonJS | None | Numbers and maths | |
| @kwsites/math-sum Gets the sum of values | 8.4k | - | - | - | 5 years ago 2.5.0 | CommonJS | Bundled | Numbers 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 + CommonJS | Bundled | Numbers and maths | |
| numerable Number formatting library for Javascript and Node.js apps | 8k | -15% | - | 5 years ago 0.3.15 | ESM + CommonJS | None | Numbers 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 + CommonJS | Bundled | TypeScript 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 | CommonJS | None | Numbers and maths | |
| @stdlib/random-base-gamma Gamma distributed pseudorandom numbers. | 7.4k | - | - | - | 7 months ago 0.2.2 | CommonJS | Bundled | Numbers and maths |
| react-mathjax React component to render math using MathJax | 7.4k | +20% | - | 8 years ago 1.0.1 | CommonJS | None | React, Numbers and maths | |
| ratex-react-native Native LaTeX rendering for React Native (no WebView) | 7.1k | - | - | 1 month ago 0.1.14 | CommonJS | Bundled | Numbers and maths, React | |
| @excalidraw/math Excalidraw math functions | 6.8k | - | - | - | 1 year ago 0.18.0-f0063e113 | ESM only | Bundled | Numbers 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 only | Bundled | Date 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 + CommonJS | Bundled | Numbers 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 | CommonJS | None | Numbers 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 | CommonJS | None | Numbers and maths | |
| json-bigint-native JSON.parse with bigints support | 6.3k | +23% | - | 4 years ago 1.2.0 | CommonJS | Bundled | Numbers 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 | CommonJS | Bundled | Numbers 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 | CommonJS | Bundled | Numbers 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 | CommonJS | None | Numbers 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 | CommonJS | Bundled | Numbers 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 | CommonJS | Bundled | Numbers 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 + 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.
- @stdlib/math-base-special-roundnRound a double-precision floating-point number to the nearest multiple of 10^n.
- @stdlib/random-base-uniformUniformly distributed pseudorandom numbers.
- cornerstone-mathMath and computation geometry functionality for cornerstone
- chai-bnChai assertions for comparing arbitrary-precision integers using the bignumber.js library
- json-bigint-fixesJSON.parse with bigints support
- @cardanosolutions/json-bigintJSON.parse with bigint support and correct handling of scientific notation
- deverythingEverything you need for Dev
- nerdamerjavascript light-weight symbolic math expression evaluator
- @stdlib/random-base-improved-zigguratNormally distributed pseudorandom numbers using the improved Ziggurat method.
- @stdlib/math-base-special-tanEvaluate the tangent of a number.
- @stdlib/math-base-special-kernel-tanCompute the tangent of a double-precision floating-point number on [-π/4, π/4].
- ecma-proposal-math-extensionsTests and a polyfill for the ES2017 Math Extensions Proposal
- math-codegenGenerates code from mathematical expressions
- interval-arithmeticAn implementation of an algebraically closed interval system of the extended real number set
- quaternionThe RAW rotation library using quaternions
- @stdlib/random-base-discrete-uniformDiscrete uniform distributed pseudorandom numbers.
- @stdlib/complex-realReturn the real component of a double-precision complex floating-point number.
- @stdlib/math-base-special-binomcoeflnCompute the natural logarithm of the binomial coefficient.
- @stdlib/random-base-betaBeta distributed pseudorandom numbers.
- @stdlib/complex-imagReturn the imaginary component of a double-precision complex floating-point number.
- @stdlib/complex-imagfReturn the imaginary component of a single-precision complex floating-point number.
- @stdlib/complex-realfReturn the real component of a single-precision complex floating-point number.
- subscriptModular expression parser & evaluator
- @stdlib/stats-binomial-testExact test for the success probability in a Bernoulli experiment.
- math-clamp-xClamp a number to limits.
- trendlineGenerate a trendline using linear regression
- react-string-formatFormats string using string, number, and react components as paramaters
- @stdlib/math-base-ops-umulPerform C-like multiplication of two unsigned 32-bit integers.
- @stdlib/blas-ext-base-gsumpwCalculate the sum of strided array elements using pairwise summation.
- deconstruct-number-formatdeconstruct a number format eg '-£#,##0.##0' and return a set of parameters to describe the format
- @kwsites/math-sumGets the sum of values
- webrThe statistical programming language R compiled into WASM for use in a web browser and node.
- numerableNumber formatting library for Javascript and Node.js apps
- text-readability-tsnpm 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.
- random-uaRandomly generates User-Agent strings based on actual usage statistics from Wikimedia.
- @stdlib/random-base-gammaGamma distributed pseudorandom numbers.
- react-mathjaxReact component to render math using MathJax
- ratex-react-nativeNative LaTeX rendering for React Native (no WebView)
- @excalidraw/mathExcalidraw math functions
- @thi.ng/timestampTimestamp getter wrapping (in order of preference) `process.hrtime.bigint()`, `performance.now()` or `Date.now()`
- bigint-conversionConvert to/from BigInt from/to Buffer, ArrayBuffer, hex string, utf8-encoded text string.
- math-float64-get-high-wordReturns a 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number.
- math-float64-exponentReturns an integer corresponding to the unbiased exponent of a double-precision floating-point number.
- json-bigint-nativeJSON.parse with bigints support
- @stdlib/random-array-tools-nullaryConstructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
- @stdlib/stats-base-variancepnCalculate the variance of a strided array using a two-pass algorithm.
- chai-bignumberChai assertions for comparing arbitrary-precision decimals using the bignumber.js library
- @stdlib/random-array-tools-binaryConstructor for creating arrays filled with pseudorandom values drawn from a binary PRNG.
- @stdlib/random-array-tools-binary-factoryCreate a factory function for generating pseudorandom values drawn from a binary PRNG.
- financial-arithmetic-functionsA set of functions for doing math on numbers without floating point numbers
No comparisons for this package yet.