JSLike, a CSP-Safe Interpreter for JS, TS, JSX, TSX in JS
Runs real React components in the browser without eval() or transpilation steps.
Tiny and CSP-safe expression language for JavaScript
Tiny 1.2KB parser using precedence climbing instead of heavy math libraries.
Frontend developers needing runtime logic evaluation
expr-eval · mathjs · jsep
I wanted a way to have a very simple core "compile then evaluate" package that I could easily extend with custom functions needed for the project (so in theory I could support a full Math suite).
The result is this tiny `xprsn` package, and is somewhere around 1.2kb gzipped, extracted from the closed-source project. See https://github.com/robinvdvleuten/xprsn.
Not gonna lie here, as it is mostly Fable5 effort (you probably will notice by the terse, not very human-readable precedence climbing parser. But the point was to get a tiny working package, not some heavy brain exercise of myself :)
Despite some anti AI-slop people on HN, I wanted to share it here as I still think it would be useful to others.
Runs real React components in the browser without eval() or transpilation steps.
15-year-old library revived with 20x moon accuracy verified against US Naval Observatory.
Lighter alternative to AG Grid with zero dependencies and CSP compliance.
Zero-dependency HTTP client with caching, but native fetch covers most needs.
One CLI finds phantom and unused deps across five languages when per-language tools already exist.
Deterministic cross-file impact analysis that catches breaking changes LLMs and linters miss.