Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CJackHwang/AIstudioProxyAPI
/ check_npm_available
Function
check_npm_available
launcher/frontend_build.py:66–68 ·
view source on GitHub ↗
Check if npm is available.
()
Source
from the content-addressed store, hash-verified
64
65
66
def
check_npm_available() -> bool:
67
""
"Check if npm is available."
""
68
return
shutil.which(
"npm"
) is not None
69
70
71
def
rebuild_frontend() -> bool:
Callers
1
rebuild_frontend
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected