code: function getRuntimeInfo() {
    var execPath = fs.realpathSync(process.execPath); // resolve symbolic link
  
    var runtime = execPath
                 .split(/[\\/]+/).pop()
                 .split('.').shift();
  
    runtime = runtime === 'nodejs' ? 'node' : runtime;
  
    return {
      name: runtime,
      execPath: execPath
    };
  }
docs: Get Runtime Info
  
  @api private