Removes a file or directory. The directory can have contents. Like {\ttfamily rm -\/rf}.


\begin{DoxyItemize}
\item {\ttfamily path} {\ttfamily $<$String$>$}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_fs_extra_docs_remove_sync_autotoc_md11039}{}\doxysection{Example\+:}\label{md_sfcode_node_modules_fs_extra_docs_remove_sync_autotoc_md11039}

\begin{DoxyCode}{0}
\DoxyCodeLine{const fs = require('fs-\/extra')}
\DoxyCodeLine{}
\DoxyCodeLine{// remove file}
\DoxyCodeLine{fs.removeSync('/tmp/myfile')}
\DoxyCodeLine{}
\DoxyCodeLine{fs.removeSync('/home/jprichardson') // I just deleted my entire HOME directory. }

\end{DoxyCode}
 