\begin{quote}
Check if a path is in the \href{https://en.wikipedia.org/wiki/Working_directory}{\texttt{ current working directory}} \end{quote}
\hypertarget{md_sfcode_node_modules_is_path_in_cwd_readme_autotoc_md13168}{}\doxysection{Install}\label{md_sfcode_node_modules_is_path_in_cwd_readme_autotoc_md13168}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install is-\/path-\/in-\/cwd }

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const isPathInCwd = require('is-\/path-\/in-\/cwd');}
\DoxyCodeLine{}
\DoxyCodeLine{isPathInCwd('unicorn');}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{}
\DoxyCodeLine{isPathInCwd('../rainbow');}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{}
\DoxyCodeLine{isPathInCwd('.');}
\DoxyCodeLine{//=> false }

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