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