root 3bf41bf355 update 1 anno fa
..
index.js 3bf41bf355 update 1 anno fa
license 3bf41bf355 update 1 anno fa
package.json 3bf41bf355 update 1 anno fa
readme.md 3bf41bf355 update 1 anno fa

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