query-2-json
Inspired by react-querybuilder
It is simple to use but would be easier to store the query string and convert it back to the json format from the string.
Installation
npm install query-2-json
Usage
const q2j =let q = "(a != 1 || (b == 2 && c <= 3)) && (d != 4)"let json = ;consolelet rule = ;console