keep-alive

keep-alive is a node module for defining and executing a simple keep-alive policy

it-keepalive

Keep an async iterable alive by yielding a value if it doesn't yield a value before the timeout