PivotQL MongoDB Compiler
JSON →Compiles PivotQL ASTs into MongoDB query objects. This library is part of the PivotQL ecosystem, a DSL for filtering and querying data structures. Current stable version is 0.4.2, released as an alpha. It is designed for Node.js environments that use MongoDB. Key differentiators: allows writing expressive, SQL-like filter syntax that gets transpiled into MongoDB's native query language. Minimal dependencies; relies on the PivotQL parser and MongoDB driver. Suitable for APIs where user-defined filters need to be safely converted to MongoDB queries.