site_marriage/node_modules/is-builtin-module
2019-10-20 20:15:52 +02:00
..
index.js migration titane -> nickel 2019-10-20 20:15:52 +02:00
license migration titane -> nickel 2019-10-20 20:15:52 +02:00
package.json migration titane -> nickel 2019-10-20 20:15:52 +02:00
readme.md migration titane -> nickel 2019-10-20 20:15:52 +02: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