filtrex icon indicating copy to clipboard operation
filtrex copied to clipboard

A simple, safe, JavaScript Filter Expression compiler for end-users

Results 8 filtrex issues
Sort by recently updated
recently updated
newest added

Add an `async` flag to the options of `compileExpression`, which will automatically await all promises inside the expression. See [#26 on the old repo](https://github.com/joewalnes/filtrex/pull/26) for discussion.

enhancement
design

Hi folks, We are happily using filtrex for quite some time but we see some of our clients complain that the filtrex code is unsecure becuse it uses `new Function`....

enhancement
help wanted
awaiting feedback

Most errors are now i18n-friendly (see #35), however errors produced by Jison are not. Investigate the possibility to modify Jison, so that it produces better errors.

enhancement
help wanted

The [examples](https://github.com/m93a/filtrex/tree/main/example) section hasn't changed much since v0. Make it fresh and cool.

help wanted
good first issue
documentation

The core engine should be able to compare numbers, alphabetical strings (with natural sorting) and arrays (element by element, lexicographically, useful for multisort), so that filtrex can be used for...

enhancement

Let people willing to contribute know some basics facts about this repo

documentation

Make this: ``` a^2 + 2 a b + b^2 ``` parse as this: ``` a**2 + 2*a*b + b**2 ``` The implicit multiplication operator can be overloaded (see #30)...

enhancement
help wanted

The Jison parser generator makes it hard to write advanced language features (like implicit multiplication, see #39). Maybe, migrating to a modern PEG parser would be worth it. [Peggy](https://github.com/peggyjs/peggy) looks...

enhancement
help wanted