2019-01-06 13:14:45 -06:00
..
2019-01-06 13:14:45 -06:00
2019-01-06 13:14:45 -06:00
2019-01-06 13:14:45 -06:00
2019-01-06 13:14:45 -06:00

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