{"adoption": {"forks": 269, "observed_at": "2026-08-28T04:04:28.285262+00:00", "stars": 1351}, "canonical_url": "https://ross.abutalabs.com/products/expr-eval", "card": {"archived": false, "artifact_type": "library", "description": "Mathematical expression evaluator in JavaScript", "domain": ["mathematics", "web-development", "parsers"], "enriched": true, "function": ["parser", "math", "interpreter"], "health_score": 20, "homepage": "http://silentmatt.com/javascript-expression-evaluator/", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["silentmatt/expr-eval"], "name": "silentmatt/expr-eval", "platform": ["browser"], "pushed_at": "2024-08-15T05:00:37+00:00", "repo": "silentmatt/expr-eval", "stars": 1351, "tags": ["expression-evaluator", "expression-parser", "formula-evaluation", "safe-eval-alternative", "javascript", "npm", "nodejs"], "topics": ["javascript", "mathematical-expressions", "math", "parser", "hacktoberfest"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/expr-eval", "repo": "silentmatt/expr-eval", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.285262+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:42:14.057973+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4b4aa09c63db88ded4f0904835d5dff3d2f8717373703daabb18145bf81e1f6", "fetched_at": "2026-08-28T04:04:28.285262+00:00", "kind": "readme", "missing": false, "url": "https://github.com/silentmatt/expr-eval"}, {"content_hash": "eb95e76f0408a026a3c8b2e2817b67054279aef1abdd5b8fbfb9bc55218ecd3e", "fetched_at": "2026-08-29T12:01:22.010257+00:00", "kind": "homepage", "missing": false, "url": "http://silentmatt.com/javascript-expression-evaluator/"}, {"content_hash": "9f755aed89cd6382fa339e5ad6ad9cf3037bf8d1a1b2372594cfd87d2ade01b1", "fetched_at": "2026-08-29T12:01:22.013030+00:00", "kind": "site_page", "missing": false, "url": "https://silentmatt.com/about"}, {"content_hash": "bf6329b55c35d8d532233f947509b19aaff4a3fd4dd28324a8c40373dee3ab05", "fetched_at": "2026-08-29T12:01:22.014915+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/expr-eval"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6276, "days_push": 748, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}