is-wsl

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

node-wsl

A wrapper for the Windows Subsystem for Linux (WSL) cli