rule-judgment

JSON →
library 1.1.5 ·javascript
verified Jun 5, 2026

A MongoDB-like query engine for filtering JavaScript arrays and objects. Version 1.1.5 provides a lightweight, lodash-dependent library that supports a wide range of operators ($lt, $lte, $gt, $gte, $eq, $ne, $regex, $mod, $in, $nin, $_in, $_nin, $size, $exists, $type, $where, $and, $or, $not, $nor) for data filtering. It works in Node.js and browsers, ships TypeScript types, and uses a functional approach (returns a filter function). Compared to full MongoDB drivers or sift.js, it focuses on simplicity and compatibility with MongoDB query syntax.