chuwanghui 6d115466a5 electron库 6 years ago
..
index.js 6d115466a5 electron库 6 years ago
license 6d115466a5 electron库 6 years ago
package.json 6d115466a5 electron库 6 years ago
readme.md 6d115466a5 electron库 6 years ago

readme.md

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