npm module: return a paged query result set from a minq query