waitfor-condition (npm): A simple utility that waits until a custom condition is met or until timeout.
Keywords: wait|waitfor|condition|delay