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