{"library":"sql-where-parser","type":"library","category":null,"description":"A library for parsing the WHERE clause of an SQL-like string into an abstract syntax tree (AST), with support for converting to MongoDB queries, arrays for HTML rendering, or custom structures via an evaluator function. Current stable version is 2.2.1, updated in 2021. Lightweight, with no dependencies, and supports unary, binary, and ternary operators. Differentiators include built-in AST, array, and MongoDB output without additional converters, and an evaluator callback for custom transformations.","language":"javascript","status":"active","version":"2.2.1","tags":["javascript","SQL","parser","WHERE","AST","abstract","syntax","tree","convert"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install sql-where-parser","imports":["import SqlWhereParser from 'sql-where-parser';","const SqlWhereParser = require('sql-where-parser');","SqlWhereParser.Operator"]},{"cmd":"yarn add sql-where-parser","imports":[]},{"cmd":"pnpm add sql-where-parser","imports":[]}],"homepage":"https://github.com/shaunpersad/sql-where-parser#readme","github":"https://github.com/shaunpersad/sql-where-parser","docs":null,"changelog":null,"pypi":null,"npm":"sql-where-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}