\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_opn_node_modules_is_wsl_readme_autotoc_md19109}{}\doxysection{Install}\label{md_sfcode_node_modules_opn_node_modules_is_wsl_readme_autotoc_md19109}

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

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

\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_opn_node_modules_is_wsl_readme_autotoc_md19111}{}\doxysection{License}\label{md_sfcode_node_modules_opn_node_modules_is_wsl_readme_autotoc_md19111}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 