Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno2node/src/deps.deno.ts>Node#getLocals

Compile your Deno project to run on Node.js.
Go to Latest
method Node.prototype.getLocals
import { Node } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Gets the symbols within the current scope.

WARNING: The symbol table of locals is not exposed publicly by the compiler. Use this at your own risk knowing it may break.