12 lines
217 B
JavaScript
12 lines
217 B
JavaScript
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;
|