A Node.js module for resource allocation solvings