function startListening() {
  if (startedListening) {
    return;
  }
  startedListening = true;
  USE_METHOD(runAll);
}
Use the code directly to prevent import problems
with the detect-node package.
@link https://github.com/iliakan/detect-node/blob/master/index.js