12 lines
217 B
JavaScript
Raw Normal View History

2025-09-05 14:59:21 +08:00
const nodeFetch = require("../dist/native.cjs");
function fetch(input, options) {
return nodeFetch.fetch(input, options);
}
for (const key in nodeFetch) {
fetch[key] = nodeFetch[key];
}
module.exports = fetch;