discord-baymax-bot/node_modules/is-builtin-module/readme.md
2017-03-23 23:52:08 -05:00

625 B

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 :(

License

MIT © Sindre Sorhus