initial commit

This commit is contained in:
Zoe
2023-01-03 09:29:04 -06:00
commit 7851137d88
12889 changed files with 2557443 additions and 0 deletions
View File
+11
View File
@@ -0,0 +1,11 @@
const nodeFetch = require("../dist/index.cjs");
function fetch (input, options) {
return nodeFetch.fetch(input, options);
}
for (const key in nodeFetch) {
fetch[key] = nodeFetch[key];
}
module.exports = fetch;
+10
View File
@@ -0,0 +1,10 @@
export declare const fetch: typeof globalThis.fetch;
export declare const Blob: typeof globalThis.Blob;
export declare const File: typeof globalThis.File;
export declare const FormData: typeof globalThis.FormData;
export declare const Headers: typeof globalThis.Headers;
export declare const Request: typeof globalThis.Request;
export declare const Response: typeof globalThis.Response;
export declare const AbortController: typeof globalThis.AbortController;
export default fetch;