Array filtering for node.js and the browser inspired by MongoDB.