JavaScript Expression Parser
JSON →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.
Traffic · last 30 days ↑67% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany · PT