You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							23 lines
						
					
					
						
							427 B
						
					
					
				
			
		
		
	
	
							23 lines
						
					
					
						
							427 B
						
					
					
				| /**
 | |
| Returns `true` if the given `moduleName` is a Node.js builtin module, `false` otherwise.
 | |
| 
 | |
| @param moduleName  - The name of the module.
 | |
| 
 | |
| @example
 | |
| ```
 | |
| import isBuiltinModule = require('is-builtin-module');
 | |
| 
 | |
| isBuiltinModule('fs/promises');
 | |
| //=> true
 | |
| 
 | |
| isBuiltinModule('node:fs');
 | |
| //=> true
 | |
| 
 | |
| isBuiltinModule('unicorn');
 | |
| //=> false
 | |
| ```
 | |
| */
 | |
| declare function isBuiltinModule(moduleName: string): boolean;
 | |
| 
 | |
| export = isBuiltinModule;
 |