Fetch APIはブラウザのJavaScriptを利用してネットワーク越しにデータを取得するための新しい機能です。同様の技術には、XMLHttpRequestがありますが、Fetch APIを使う事で、より柔軟で強力な操作が可能になります。 なお、新しいAPIと言ったのには理由があります。
Experimental global fetch API that simplifies writing cross-platform HTTP request code is available by default in the latest version of the popular JavaScript runtime. Node.js 18, the latest version ...
The latest version of the JavaScript runtime Node.js is now available. Node.js 18 includes an update to the V8 JavaScript engine, global fetch enabled by default, and a core test runner module. The V8 ...