An expression compiler for Yox.js, version 0.18.0. It compiles template expressions into executable code for reactive rendering. Part of the Yox.js ecosystem, this package is designed to work with yox-common and is maintained as part of the broader Yox framework. It offers a lightweight, performant alternative to larger template compilers by focusing specifically on expression compilation.
npm install yox-expression-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of compileExpression to compile a simple arithmetic expression.
Use named imports like `import { compileExpression } from 'yox-expression-compiler'` instead of default import.Ensure yox-common version 0.20.0 or compatible is installed in your project.
If using JavaScript, avoid importing type-only symbols.
Ensure yox-common is installed and correct version: npm install yox-common@^0.20.0
Upgrade to version 0.18.0 and use named import as documented.