0.1.1 • Published 10 months ago
fetch-file-monkeypatch v0.1.1
fetch-file-monkeypatch
Patch node's fetch implementation to handle the `file:// schema.
Usage
import "fetch-file-monkeypatch"
const response = await fetch("./README.md");
console.log(await response.text());