Andrea Fazzi 994369ab61 First commit %!s(int64=7) %!d(string=hai) anos
..
index.js 994369ab61 First commit %!s(int64=7) %!d(string=hai) anos
license 994369ab61 First commit %!s(int64=7) %!d(string=hai) anos
package.json 994369ab61 First commit %!s(int64=7) %!d(string=hai) anos
readme.md 994369ab61 First commit %!s(int64=7) %!d(string=hai) anos

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