Need private packages and team management tools?Check out npm Teams »

is-builtin-module

3.0.0 • Public • Published

is-builtin-module Build Status

Check if a string matches the name of a Node.js builtin module

Install

$ npm install is-builtin-module

Usage

const isBuiltinModule = require('is-builtin-module');
 
isBuiltinModule('fs');
//=> true
 
isBuiltinModule('unicorn');
//=> false

Related

License

MIT © Sindre Sorhus

Install

npm i is-builtin-module

DownloadsWeekly Downloads

2,591,145

Version

3.0.0

License

MIT

Unpacked Size

2.71 kB

Total Files

4

Last publish

Collaborators

  • avatar