\begin{quote}
Check if something is a \href{https://nodejs.org/api/stream.html}{\texttt{ Node.\+js stream}} \end{quote}
\hypertarget{md_sfcode_node_modules_is_stream_readme_autotoc_md13219}{}\doxysection{Install}\label{md_sfcode_node_modules_is_stream_readme_autotoc_md13219}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save is-\/stream }

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const fs = require('fs');}
\DoxyCodeLine{const isStream = require('is-\/stream');}
\DoxyCodeLine{}
\DoxyCodeLine{isStream(fs.createReadStream('unicorn.png'));}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{}
\DoxyCodeLine{isStream(\{\});}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_is_stream_readme_autotoc_md13221}{}\doxysection{API}\label{md_sfcode_node_modules_is_stream_readme_autotoc_md13221}
\hypertarget{md_sfcode_node_modules_is_stream_readme_autotoc_md13222}{}\doxysubsection{is\+Stream(stream)}\label{md_sfcode_node_modules_is_stream_readme_autotoc_md13222}
\hypertarget{md_sfcode_node_modules_is_stream_readme_autotoc_md13223}{}\doxysubsubsection{is\+Stream.\+writable(stream)}\label{md_sfcode_node_modules_is_stream_readme_autotoc_md13223}
\hypertarget{md_sfcode_node_modules_is_stream_readme_autotoc_md13224}{}\doxysubsubsection{is\+Stream.\+readable(stream)}\label{md_sfcode_node_modules_is_stream_readme_autotoc_md13224}
\hypertarget{md_sfcode_node_modules_is_stream_readme_autotoc_md13225}{}\doxysubsubsection{is\+Stream.\+duplex(stream)}\label{md_sfcode_node_modules_is_stream_readme_autotoc_md13225}
\hypertarget{md_sfcode_node_modules_is_stream_readme_autotoc_md13226}{}\doxysubsubsection{is\+Stream.\+transform(stream)}\label{md_sfcode_node_modules_is_stream_readme_autotoc_md13226}
\hypertarget{md_sfcode_node_modules_is_stream_readme_autotoc_md13227}{}\doxysection{License}\label{md_sfcode_node_modules_is_stream_readme_autotoc_md13227}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 