\begin{quote}
Get the command from a shebang \end{quote}
\hypertarget{md_sfcode_node_modules_shebang_command_readme_autotoc_md27003}{}\doxysection{Install}\label{md_sfcode_node_modules_shebang_command_readme_autotoc_md27003}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save shebang-\/command }

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const shebangCommand = require('shebang-\/command');}
\DoxyCodeLine{}
\DoxyCodeLine{shebangCommand('\#!/usr/bin/env node');}
\DoxyCodeLine{//=> 'node'}
\DoxyCodeLine{}
\DoxyCodeLine{shebangCommand('\#!/bin/bash');}
\DoxyCodeLine{//=> 'bash' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_shebang_command_readme_autotoc_md27005}{}\doxysection{API}\label{md_sfcode_node_modules_shebang_command_readme_autotoc_md27005}
\hypertarget{md_sfcode_node_modules_shebang_command_readme_autotoc_md27006}{}\doxysubsection{shebang\+Command(string)}\label{md_sfcode_node_modules_shebang_command_readme_autotoc_md27006}
\hypertarget{md_sfcode_node_modules_shebang_command_readme_autotoc_md27007}{}\doxysubsubsection{string}\label{md_sfcode_node_modules_shebang_command_readme_autotoc_md27007}
Type\+: {\ttfamily string}

String containing a shebang.\hypertarget{md_sfcode_node_modules_shebang_command_readme_autotoc_md27008}{}\doxysection{License}\label{md_sfcode_node_modules_shebang_command_readme_autotoc_md27008}
MIT © \href{http://github.com/kevva}{\texttt{ Kevin Martensson}} 