Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ get_node_directory
Function
get_node_directory
tools/shared.py:274–275 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
272
273
274
def
get_node_directory():
275
return
os.path.dirname(config.NODE_JS[0]
if
type(config.NODE_JS) is list
else
config.NODE_JS)
276
277
278
# When we run some tools from npm (closure, html-minifier-terser), those
Callers
1
env_with_node_in_path
Function · 0.85
Calls
1
type
Enum · 0.50
Tested by
no test coverage detected