V1 with working cmdline interface for easy of using GIT
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import { getRuntime as getWebRuntime } from "./web-runtime.mjs";
|
||||
import { ReadStream as FsReadStream } from 'node:fs';
|
||||
export function getRuntime() {
|
||||
const runtime = getWebRuntime();
|
||||
function isFsReadStream(value) {
|
||||
return value instanceof FsReadStream;
|
||||
}
|
||||
return { ...runtime, isFsReadStream };
|
||||
}
|
||||
//# sourceMappingURL=bun-runtime.mjs.map
|
||||
Reference in New Issue
Block a user