Filtering library for systematic database query generation using Node.js