An open API service indexing awesome lists of open source software.

https://github.com/axorax/builtin-check.js

Validate if a string is a Node.js built-in module
https://github.com/axorax/builtin-check.js

builtin builtin-check builtin-module builtin-modules nodejs

Last synced: about 2 months ago
JSON representation

Validate if a string is a Node.js built-in module

Awesome Lists containing this project

README

          

builtin-check.js

Validate if a string is a Node.js built-in module

## ⚙️ Installation

```terminal
npm i builtin-check
```

## 📖 Usage

#### ▸ Import

```js
// ES6
import builtinCheck from "builtin-check";

// commonjs
const builtinCheck = require("builtin-check");
```

#### ▸ Check

```js
builtinCheck("fs");
// True

builtinCheck("concall");
// False
```

---

[Support me on Patreon](https://www.patreon.com/axorax) —
[Check out my socials](https://github.com/axorax/socials)