joewalnes/filtrex
A simple, safe, JavaScript Filter Expression compiler for end-users observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4495
- days_rel: n/a
- days_push: 1996
- n_releases_24m: 0
Adoption not part of the score
1071 stars · 73 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Filtrex is a small JavaScript library that compiles a simple, spreadsheet-like filter expression language written by end-users into safe, fast JavaScript functions. It avoids eval() by sandboxing expressions so users can enter arbitrary filters without security risk.
Use cases
- let end-users write filter expressions to search items
- compile user-entered expressions into safe javascript functions
- filter spreadsheet-like data with user-defined rules
- build a browser-based spreadsheet with custom formulas
- colorize or highlight items based on user expressions
- avoid eval() when evaluating user input
When to choose
- you need end-users to enter simple filter or search expressions safely
- you want compiled, fast expression evaluation without eval()
- you need a tiny, predictable expression language with no loops or recursion
When to avoid
- you need a full scripting language with loops, functions, or recursion
- you need complex types beyond numbers and strings
- you need an actively developed library with recent releases
Facets
library · maturity maintenance
parser compiler search-engine security developer-tools web-development frontend parsers browser cross-platform expression-language expression-compiler sandboxed-eval user-input-filtering runtime-compilation javascript nodejs
1 source
- readme: https://github.com/joewalnes/filtrex · fetched 2026-08-28 · 7be4d9908eef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| joewalnes/filtrex | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="joewalnes/filtrex")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem