Name Last Update
..
index.js Loading commit data...
license Loading commit data...
package.json Loading commit data...
readme.md Loading commit data...

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