Ross ROSS = Recommend OSS · open-source software intelligence for agents

silentmatt/expr-eval

Mathematical expression evaluator in JavaScript observed · 2026-08-28

github.com/silentmatt/expr-eval · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • 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: 6276
  • days_rel: n/a
  • days_push: 748
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1351 stars · 269 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

expr-eval is a JavaScript library that parses and evaluates mathematical expressions, designed as a safer, math-oriented alternative to JavaScript's eval. Expressions containing variables can be evaluated with bound values, substituted, simplified, inspected for symbols, or compiled into native JavaScript functions, with support for custom functions and operator configuration.

Use cases

  • evaluate user-typed math expressions safely in javascript without eval
  • parse and calculate formulas with variables in node.js
  • convert an expression string into a reusable javascript function
  • evaluate spreadsheet-like formulas in the browser
  • simplify or substitute variables in mathematical expressions
  • allow custom operators and functions in a formula evaluator

When to choose

  • you need to safely evaluate arithmetic or math expressions supplied by users instead of using eval
  • you want a lightweight npm dependency focused purely on math expression parsing and evaluation
  • you need to compile expressions once and evaluate them many times with different variable values
  • you want to extend an expression language with your own javascript functions or disable operators

When to avoid

  • you need a full computer algebra system with symbolic calculus or advanced algebra
  • you need arbitrary code execution rather than pure math expressions
  • you need heavy numerical computing, matrices, or units support better served by math.js or numeric libraries
  • you are not working in a javascript runtime

Facets

library · maturity stable

parser math interpreter mathematics web-development parsers browser expression-evaluator expression-parser formula-evaluation safe-eval-alternative javascript npm nodejs

4 sources

Member repositories

RepositoryRoleHealth v2
silentmatt/expr-evalmain32

For agents

markdown · JSON · MCP: product_card(name="silentmatt/expr-eval")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem