UNPKG

deno2node

Version:

`tsc` replacement for transpiling Deno libraries to run on Node.js.

18 lines (17 loc) 386 B
import { chmod } from "node:fs/promises"; export declare const Deno: { args: string[]; build: { os: string; }; chmod: typeof chmod; exit: (code?: number) => never; readonly noColor: boolean; stdout: { isTerminal: () => boolean; }; }; export declare function fetch(fileUrl: URL): Promise<{ json: () => any; text: () => string; }>;