Fetch for file: URLs.
import fetchFile from '@cordisjs/fetch-file';
const response = await fetchFile('file:///path/to/file.txt');fetchFile has the same API as fetch.
Fetch for file: URLs.
import fetchFile from '@cordisjs/fetch-file';
const response = await fetchFile('file:///path/to/file.txt');fetchFile has the same API as fetch.