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

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

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

\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_watchpack_chokidar2_node_modules_is_binary_path_readme_autotoc_md32025}{}\doxysection{Related}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_binary_path_readme_autotoc_md32025}

\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_watchpack_chokidar2_node_modules_is_binary_path_readme_autotoc_md32026}{}\doxysection{License}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_binary_path_readme_autotoc_md32026}
MIT © \href{http://sindresorhus.com}{\texttt{ Sindre Sorhus}} 