builtin-check
v1.0.0
Published
Validate if a string is a Node.js built-in module
Downloads
2
Maintainers
Readme
⚙️ Installation
npm i builtin-check
📖 Usage
▸ Import
// ES6
import builtinCheck from "builtin-check";
// commonjs
const builtinCheck = require("builtin-check");
▸ Check
builtinCheck("fs");
// True
builtinCheck("concall");
// False