Init
This commit is contained in:
commit
4e066bffc9
10017 changed files with 1322084 additions and 0 deletions
10
node_modules/is-builtin-module/index.js
generated
vendored
Normal file
10
node_modules/is-builtin-module/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
var builtinModules = require('builtin-modules');
|
||||
|
||||
module.exports = function (str) {
|
||||
if (typeof str !== 'string') {
|
||||
throw new TypeError('Expected a string');
|
||||
}
|
||||
|
||||
return builtinModules.indexOf(str) !== -1;
|
||||
};
|
||||
Loading…
Reference in a new issue