array_to_if (npm): Node.js module that takes an array and generates a string with a function containing conditional constructs
Keywords: array|if|else|return|generators|templates