#!/usr/local/bin/node const text = (async (url) => { const res = await fetch(url) return res.text(); })('https://www.exmaple.org'); console.log(text);