高频知识点
is-wsl
is-wsl
如果您需要解决 WSL 中未实现或有问题的功能,这会很有用。 支持 WSL 1 和 WSL 2
https://www.npmjs.com/package/is-wsl
version
3.1.0
downloads
38,383,822
repository
github.com/sindresorhus/is-wsl
homepage
github.com/sindresorhus/is-wsl#readme
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Can be useful if you need to work around unimplemented or buggy features in WSL. Supports both WSL 1 and WSL 2.
|
|