Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | %!s(int64=7) %!d(string=hai) anos | |
---|---|---|
.. | ||
index.js | %!s(int64=7) %!d(string=hai) anos | |
license | %!s(int64=7) %!d(string=hai) anos | |
package.json | %!s(int64=7) %!d(string=hai) anos | |
readme.md | %!s(int64=7) %!d(string=hai) anos |
Check if a string matches the name of a Node.js builtin module
$ npm install --save is-builtin-module
var isBuiltinModule = require('is-builtin-module');
isBuiltinModule('fs');
//=> true
isBuiltinModule('unicorn');
//=> false :(
MIT © Sindre Sorhus