Created
August 7, 2023 15:12
-
-
Save k3mlol/162e7800e0310afbb9bd7f5ba7e26658 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process.enumerateModules({ | |
onMatch(module) { | |
console.log(`Loaded module: ${module.name} - ${module.path}`); | |
}, | |
onComplete() { | |
console.log('Module enumeration complete'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment