Closed dlackty closed 3 years ago
Current implementation detects node environment by checking if window is undefined but it fails at case of web workers. I copied the implementation from emscripten., which checks existances of node-specific classes.
window
Published v0.3.6.
Current implementation detects node environment by checking if
window
is undefined but it fails at case of web workers. I copied the implementation from emscripten., which checks existances of node-specific classes.