\begin{quote}
Check if the process is running inside \href{https://msdn.microsoft.com/commandline/wsl/about}{\texttt{ Windows Subsystem for Linux}} (Bash on Windows) \end{quote}
Can be useful if you need to work around unimplemented or buggy features in WSL.\hypertarget{md_sfcode_node_modules_webpack_node_modules_is_wsl_readme_autotoc_md32499}{}\doxysection{Install}\label{md_sfcode_node_modules_webpack_node_modules_is_wsl_readme_autotoc_md32499}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save is-\/wsl }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_node_modules_is_wsl_readme_autotoc_md32500}{}\doxysection{Usage}\label{md_sfcode_node_modules_webpack_node_modules_is_wsl_readme_autotoc_md32500}

\begin{DoxyCode}{0}
\DoxyCodeLine{const isWsl = require('is-\/wsl');}
\DoxyCodeLine{}
\DoxyCodeLine{// When running inside Windows Subsystem for Linux}
\DoxyCodeLine{console.log(isWsl);}
\DoxyCodeLine{//=> true }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_node_modules_is_wsl_readme_autotoc_md32501}{}\doxysection{License}\label{md_sfcode_node_modules_webpack_node_modules_is_wsl_readme_autotoc_md32501}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 