4 ms·
Most builtin modules should work (except for things like `vm` which we cannot safely sandbox in edge runtime). Deno has a good guide on the compatibility of bui
by laktek 3y ago
Most builtin modules should work (except for things like `vm` which we cannot safely sandbox in edge runtime). Deno has a good guide on the compatibility of built-in modules https://docs.deno.com/runtime/manual/node/compatibility https://docs.deno.com/runtime/manual/node/compatibility
You can do:
```
import os from "node:os"
console.log(os.hostname())
```
and it should just work both locally and when deployed. No extra steps needed.