docs: function isPortInUse(port) {
    _validatePortFormat(port);
    if (isPlatform('unix')) {
      if (isPlatform('linux') && fileExists('/proc/net')) {
        return _isPortInUseRaw(port);
      } else if (isInPath('netstat')) {
        return _isPortInUseNetstat(port);
      } else {
        throw new Error('Cannot check port status');
      }
    } else {
      throw new Error('Port checking not supported on this platform');
    }
  }