Emulate console for all the browsers\hypertarget{md_sfcode_node_modules_console_browserify_README_autotoc_md6476}{}\doxysection{Install}\label{md_sfcode_node_modules_console_browserify_README_autotoc_md6476}
You usually do not have to install {\ttfamily console-\/browserify} yourself! If your code runs in Node.\+js, {\ttfamily console} is built in. If your code runs in the browser, bundlers like \href{https://github.com/browserify/browserify}{\texttt{ browserify}} or \href{https://github.com/webpack/webpack}{\texttt{ webpack}} also include the {\ttfamily console-\/browserify} module when you do `require(\textquotesingle{}console')\`{}.

But if none of those apply, with npm do\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{npm install console-\/browserify }

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

\begin{DoxyCode}{0}
\DoxyCodeLine{var console = require("{}console"{})}
\DoxyCodeLine{// Or when manually using console-\/browserify directly:}
\DoxyCodeLine{// var console = require("{}console-\/browserify"{})}
\DoxyCodeLine{}
\DoxyCodeLine{console.log("{}hello world!"{}) }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_console_browserify_README_autotoc_md6478}{}\doxysection{API}\label{md_sfcode_node_modules_console_browserify_README_autotoc_md6478}
See the \href{https://nodejs.org/api/console.html}{\texttt{ Node.\+js Console docs}}. {\ttfamily console-\/browserify} does not support creating new {\ttfamily Console} instances and does not support the Inspector-\/only methods.\hypertarget{md_sfcode_node_modules_console_browserify_README_autotoc_md6479}{}\doxysection{Contributing}\label{md_sfcode_node_modules_console_browserify_README_autotoc_md6479}
PRs are very welcome! The main way to contribute to {\ttfamily console-\/browserify} is by porting features, bugfixes and tests from Node.\+js. Ideally, code contributions to this module are copy-\/pasted from Node.\+js and transpiled to ES5, rather than reimplemented from scratch. Matching the Node.\+js code as closely as possible makes maintenance simpler when new changes land in Node.\+js. This module intends to provide exactly the same API as Node.\+js, so features that are not available in the core {\ttfamily console} module will not be accepted. Feature requests should instead be directed at \href{https://github.com/nodejs/node}{\texttt{ nodejs/node}} and will be added to this module once they are implemented in Node.\+js.

If there is a difference in behaviour between Node.\+js\textquotesingle{}s {\ttfamily console} module and this module, please open an issue!\hypertarget{md_sfcode_node_modules_console_browserify_README_autotoc_md6480}{}\doxysection{Contributors}\label{md_sfcode_node_modules_console_browserify_README_autotoc_md6480}

\begin{DoxyItemize}
\item Raynos
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_console_browserify_README_autotoc_md6481}{}\doxysection{License}\label{md_sfcode_node_modules_console_browserify_README_autotoc_md6481}
\href{./LICENSE}{\texttt{ MIT}} 