{"values":
[["key","value"]
,["Default sheet URL","https://docs.google.com/spreadsheets/d/1_hCWsZ13xSnjnmSCx4flTFJCZ6D4yRZjDsaYDchqu08/edit"]
,["Default sheet name","Sheet1"]
,["Fetch template: fetch","  const { values } = await fetch(endpoint)\n    .then(response => {\n      if (!response.ok) {\n        throw new Error('Unable to load data from ' + endpoint)\n      }\n      return response.json()\n    })"]
,["Fetch template: axios","  const { data: { values } } = await axios.get(endpoint)"]
,["Processing description: none","No postprocessing; a two-dimensional array of rows and columns is returned."]
,["Processing description: key-value","An object is returned with a property for each row, where the first column is the key and the second column is the value. (Other columns are discarded.)"]
,["Processing description: table","An array of objects is returned. The first row of the table is the header. All of the remaining rows are mapped to their respective headers and returned as an array of objects."]
,["Processing template: none","  return values"]
,["Processing template: key-value","  const entries = values.map(row => [row[0], row[1]])\n  return Object.fromEntries(entries)"]
,["Processing template: table","  const [header, ...rows] = values\n  return rows.map(row => {\n    const entries = header.map((key, i) => [key, row[i]])\n    return Object.fromEntries(entries)\n  })"]
,["Processing example: none","a|b|c|d\ne|f|g|h\n---\n[[\"a\", \"b\", \"c\", \"d\"]\n,[\"e\", \"f\", \"g\", \"h\"]]"]
,["Processing example: key-value","#key|value\ncolor|red\nsize|large\n---\n{\"key\":\"value\",\"color\":\"red\",\"size\":\"large\"}"]
,["Processing example: table","#id|text|color\n1|Red|#EF4444\n2|Blue|#3B82F6\n---\n[{\"id\":\"1\",\"text\":\"Red\",\"color\":\"#EF4444\"}\n,{\"id\":\"2\",\"text\":\"Blue\",\"color\":\"#3B82F6\"}]"]
,["Function template","async function fetchData() {\n  const baseUrl = '$baseUrl'\n  const sheetId = '$sheetId'\n  const sheetName = '$sheetName'\n  const endpoint = `${baseUrl}/${sheetId}/${sheetName}.json`\n$fetch\n$process\n}"]]}