Eric Foster 35b96bc934 initial commit 6 years ago
..
index.js initial commit 6 years ago
license initial commit 6 years ago
package.json initial commit 6 years ago
readme.md initial commit 6 years ago

readme.md

is-builtin-module Build Status

Check if a string matches the name of a Node.js builtin module

Install

$ npm install --save is-builtin-module

Usage

var isBuiltinModule = require('is-builtin-module');

isBuiltinModule('fs');
//=> true

isBuiltinModule('unicorn');
//=> false :(

Related

License

MIT © Sindre Sorhus