_platformToName() {
    switch (process.platform) {
      case 'darwin': return process.platform;
      case 'win32': return 'win';
      default: return 'linux';
    }
  }
/**
   * Returns common names for the platform.
   * @return {String} Either `darwin`, `win` or `linux`
   */
Returns common names for the platform.
Returns common names for the platform .
_platformToName() {
    switch (process.platform) {
      case 'darwin': return process.platform;
      case 'win32': return 'win';
      default: return 'linux';
    }
  }
_platformToName ( ) { switch ( process . platform ) { case 'darwin' : return process . platform ; case 'win32' : return 'win' ; default : return 'linux' ; } }
Returns common names for the platform.
Returns common names for the platform .