\begin{quote}
Node.\+js \href{https://nodejs.org/api/os.html\#os_os_tmpdir}{\texttt{ {\ttfamily os.\+tmpdir()}}} \href{https://ponyfill.com}{\texttt{ ponyfill}} \end{quote}
Use this instead of `require(\textquotesingle{}os').tmpdir()\`{} to get a consistent behavior on different Node.\+js versions (even 0.\+8).\hypertarget{md_sfcode_node_modules_os_tmpdir_readme_autotoc_md19257}{}\doxysection{Install}\label{md_sfcode_node_modules_os_tmpdir_readme_autotoc_md19257}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save os-\/tmpdir }

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const osTmpdir = require('os-\/tmpdir');}
\DoxyCodeLine{}
\DoxyCodeLine{osTmpdir();}
\DoxyCodeLine{//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_os_tmpdir_readme_autotoc_md19259}{}\doxysection{API}\label{md_sfcode_node_modules_os_tmpdir_readme_autotoc_md19259}
See the \href{https://nodejs.org/api/os.html\#os_os_tmpdir}{\texttt{ {\ttfamily os.\+tmpdir()} docs}}.\hypertarget{md_sfcode_node_modules_os_tmpdir_readme_autotoc_md19260}{}\doxysection{License}\label{md_sfcode_node_modules_os_tmpdir_readme_autotoc_md19260}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 