Why is fetch() not available in JavaScript fields?

Here: Calculation Field | Tape Developers is stated that β€˜The script is executed inside a Node.js version 18 environment, so you can use ES6 (indeed up to ES2021) syntax with all its cool features :tada:’ and here: Node.js β€” Node.js 18 is now available! is stated that fetch() is available since Node.js 18.

Please make fetch() available.

To add to that:

There is a way to do http requests directly from a script, with e.g.

const resp = await http.get(url, options);

The API of the http library is not documented and is also not listed on here: Available Libraries (Automations) | Tape Developers . (It looks like it resembles the Axios-HTTP-API).

It would be a lot better to be able to make HTTP requests the modern way with fetch().

3 Likes