Is there a javascript library that will allow me to express object predicates in a DSL similar to MongoDB\'s query language? For the sake of clarity in a large program, I\'d
https://github.com/mirek/node-json-criteria library does exactly that - evaluates criteria queries on JSON objects using MongoDB query format.