Xeplr OS / Primitives

@xeplr/expression-handler

Level-1 structured expression evaluator — apply field functions (upper/month/…) and operators (eq/contains/gt/between/isNull/…) to a data row. No parser; JSON expressions in, boolean out.

Install

npm install @xeplr/expression-handler

The idea

What it evaluates is already data. An expression can be stored, edited in a UI and sent over the wire without ever being a string someone has to escape — and an Excel-style formula compiles to the same JSON.

Where it sits

Part of Primitives — no framework, no I/O, no opinions about your stack. Data in, data out — the parts everything else is assembled from.

Documentation for @xeplr/expression-handler is in its README on npm.

These packages are what Xeplr Analytics is made of

If you are assembling this yourself, it may be worth seeing the assembled version first.