# numbers/numbers.js

Advanced Mathematics Library for Node.js and JavaScript

Repository: https://github.com/numbers/numbers.js
Canonical: https://ross.abutalabs.com/products/numbersjs
Language: JavaScript
License: Apache-2.0
License Family: permissive
Last push: 2022-02-04T15:09:21+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5318, "days_push": 1671, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1756, forks 161 (observed 2026-08-28T04:05:32.181337+00:00)

## What it is
An advanced mathematics toolkit for JavaScript and Node.js providing calculus, matrix operations, prime number analysis, and statistics. It includes floating-point error bound handling for more reliable numeric results.

## Use cases
- estimate integrals of functions numerically
- perform matrix addition and transpose operations
- check primality with Miller-Rabin test
- compute mean, median, mode, and standard deviation
- run statistical tests like t-test and chi-square
- generate random samples within a range
- handle floating-point precision in decimal math

## When to choose
- you need basic math, calculus, matrix, or statistics functions in JavaScript without heavy dependencies
- you want a lightweight toolkit for client-side or Node.js numeric computations

## When to avoid
- you need high-performance or arbitrary-precision numerics
- you need a full-featured scientific computing stack like NumPy equivalents
- you need actively maintained libraries with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: math
- domain: mathematics
- platform: browser
- tags: calculus, matrix-operations, statistics, prime-numbers, numerical-methods, nodejs, javascript

## Member repositories
- numbers/numbers.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.181337+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:27:53.048192+00:00, confidence not recorded.
  - readme: https://github.com/numbers/numbers.js (fetched 2026-08-28T04:05:32.181337+00:00, sha 636daddbbfab)
- Data as of 2026-08-30T08:39:29.467469+00:00.
