\begin{quote}
Node.\+js 4 \href{https://nodejs.org/api/os.html\#os_os_homedir}{\texttt{ {\ttfamily os.\+homedir()}}} \href{https://ponyfill.com}{\texttt{ ponyfill}} \end{quote}
\hypertarget{md_sfcode_node_modules_os_homedir_readme_autotoc_md19252}{}\doxysection{Install}\label{md_sfcode_node_modules_os_homedir_readme_autotoc_md19252}

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

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const osHomedir = require('os-\/homedir');}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(osHomedir());}
\DoxyCodeLine{//=> '/Users/sindresorhus' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_os_homedir_readme_autotoc_md19254}{}\doxysection{Related}\label{md_sfcode_node_modules_os_homedir_readme_autotoc_md19254}

\begin{DoxyItemize}
\item \href{https://github.com/sindresorhus/user-home}{\texttt{ user-\/home}} -\/ Same as this module but caches the result
\item \href{https://github.com/sindresorhus/home-or-tmp}{\texttt{ home-\/or-\/tmp}} -\/ Get the user home directory with fallback to the system temp directory
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_os_homedir_readme_autotoc_md19255}{}\doxysection{License}\label{md_sfcode_node_modules_os_homedir_readme_autotoc_md19255}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 