Eric Foster 35b96bc934 initial commit 6 anos atrás
..
index.js initial commit 6 anos atrás
license initial commit 6 anos atrás
package.json initial commit 6 anos atrás
readme.md initial commit 6 anos atrás

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