josdejong/mathjs
An extensive math library for JavaScript and Node.js observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4947
- days_rel: n/a
- days_push: 23
- n_releases_24m: 0
Adoption not part of the score
15070 stars · 1316 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Math.js is an extensive math library for JavaScript and Node.js that provides a flexible expression parser with symbolic computation, hundreds of built-in functions and constants, and integrated support for numbers, big numbers, bigints, complex numbers, fractions, units, and matrices. It runs in any JavaScript engine (browser, Node.js, CLI) and is easily extensible and configurable.
Use cases
- evaluate math expressions from strings in javascript
- work with complex numbers, fractions, and matrices in js
- convert units like cm to inch in javascript
- compute symbolic derivatives in the browser
- do arbitrary precision arithmetic in node.js
- parse and evaluate user-entered formulas safely
- calculate determinants and matrix operations in a web app
When to choose
- you need to parse and evaluate mathematical expressions from user input or strings
- you need data types JavaScript's built-in Math lacks, such as complex numbers, fractions, units, or big numbers
- you want one consistent math API that works in both the browser and Node.js
- you need light symbolic computation like derivatives or simplification in JavaScript
When to avoid
- you only need basic arithmetic, where the native Math object is lighter and faster
- you need high-performance numerical or heavy linear-algebra computing, where a compiled or GPU-backed tool is better
- bundle size is critical and you cannot leverage tree-shaking or the number-only build
Facets
library · maturity stable
math parser mathematics web-development developer-tools browser bun cli expression-parser symbolic-computation complex-numbers matrices units bignumbers fractions numerical-computing calculator arbitrary-precision nodejs deno
4 sources
- readme: https://github.com/josdejong/mathjs · fetched 2026-08-28 · d11061ada29a
- homepage: https://mathjs.org · fetched 2026-08-29 · a8bf7f03ce3a
- site_page: https://mathjs.org/docs/getting_started.html · fetched 2026-08-29 · 2d5a43aba136
- site_page: https://mathjs.org/docs/index.html · fetched 2026-08-29 · 2984c73eebc7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| josdejong/mathjs | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="josdejong/mathjs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem