slowpoke (npm): Detect slow-running loops and abort after a user-defined timeout 
Keywords: detect|slow|loops|ast|transform|while|for|do