Comment Comment by zebracanevra fetch's Response.text also returns a Promise, so you'd have to await twice: const lines = (await (await fetch(myUrl)).text()).split('\n'); parent zebracanevra 8 years ago