Preparing for system design interviews?  Try bugzed.com →

JavaScript Expression Parser

JSON →
library 1.0.0 ·javascript
verified Jun 17, 2026

expr-parser is a lightweight JavaScript library designed for parsing and evaluating mathematical and object-property expressions from strings. It allows developers to define expressions as strings and then execute them against a given context object, enabling dynamic calculations. The current stable version is 1.0.0, and based on its release history, updates appear infrequent, focusing on stability rather than rapid feature additions. Its core differentiation lies in its minimalist API and straightforward approach to expression evaluation, making it an ideal choice for scenarios requiring basic string-based computation without the overhead or complexity of a full-fledged abstract syntax tree (AST) manipulator or a more expansive templating language. It's particularly suited for environments where controlled, user-defined arithmetic or data access logic is needed.

total hits 10
actors 4 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
Script
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany