\begin{quote}
Check if a filepath is a binary file \end{quote}
\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_is_binary_path_readme_autotoc_md33506}{}\doxysection{Install}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_is_binary_path_readme_autotoc_md33506}

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

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

\begin{DoxyCode}{0}
\DoxyCodeLine{var isBinaryPath = require('is-\/binary-\/path');}
\DoxyCodeLine{}
\DoxyCodeLine{isBinaryPath('src/unicorn.png');}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{}
\DoxyCodeLine{isBinaryPath('src/unicorn.txt');}
\DoxyCodeLine{//=> false }

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

\begin{DoxyItemize}
\item \href{https://github.com/sindresorhus/binary-extensions}{\texttt{ {\ttfamily binary-\/extensions}}} -\/ List of binary file extensions
\item \href{https://github.com/sindresorhus/is-text-path}{\texttt{ {\ttfamily is-\/text-\/path}}} -\/ Check if a filepath is a text file
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_is_binary_path_readme_autotoc_md33509}{}\doxysection{License}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_is_binary_path_readme_autotoc_md33509}
MIT © \href{http://sindresorhus.com}{\texttt{ Sindre Sorhus}} 