summaryrefslogtreecommitdiff
path: root/std/node/module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/module.ts')
-rw-r--r--std/node/module.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/node/module.ts b/std/node/module.ts
index 599ae2325..f27ef25f2 100644
--- a/std/node/module.ts
+++ b/std/node/module.ts
@@ -25,6 +25,7 @@ import * as nodeFS from "./fs.ts";
import * as nodeUtil from "./util.ts";
import * as nodePath from "./path.ts";
import * as nodeTimers from "./timers.ts";
+import * as nodeOs from "./os.ts";
import * as path from "../path/mod.ts";
import { assert } from "../testing/asserts.ts";
@@ -582,6 +583,7 @@ nativeModulePolyfill.set("fs", createNativeModule("fs", nodeFS));
nativeModulePolyfill.set("util", createNativeModule("util", nodeUtil));
nativeModulePolyfill.set("path", createNativeModule("path", nodePath));
nativeModulePolyfill.set("timers", createNativeModule("timers", nodeTimers));
+nativeModulePolyfill.set("os", createNativeModule("os", nodeOs));
function loadNativeModule(
_filename: string,
request: string