\href{https://travis-ci.com/inspect-js/is-core-module}{\texttt{ }} \href{https://david-dm.org/inspect-js/is-core-module}{\texttt{ }} \href{https://david-dm.org/inspect-js/is-core-module\#info=devDependencies}{\texttt{ }} \mbox{[}\mbox{]}\mbox{[}license-\/url\mbox{]} \href{https://npm-stat.com/charts.html?package=is-core-module}{\texttt{ }}

\href{https://npmjs.org/package/is-core-module}{\texttt{ }}

Is this specifier a node.\+js core module? Optionally provide a node version to check; defaults to the current node version.\hypertarget{md_sfcode_node_modules_is_core_module_README_autotoc_md13012}{}\doxysection{Example}\label{md_sfcode_node_modules_is_core_module_README_autotoc_md13012}

\begin{DoxyCode}{0}
\DoxyCodeLine{var isCore = require('is-\/core-\/module');}
\DoxyCodeLine{var assert = require('assert');}
\DoxyCodeLine{assert(isCore('fs'));}
\DoxyCodeLine{assert(!isCore('butts')); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_is_core_module_README_autotoc_md13013}{}\doxysection{Tests}\label{md_sfcode_node_modules_is_core_module_README_autotoc_md13013}
Clone the repo, {\ttfamily npm install}, and run {\ttfamily npm test} 