global-state-diff

global state diff
<script src='https://example.com/script.js'></script>

Analyze the impact of loading external JavaScript resources. The tool compares the global object before and after script execution to identify newly added globals to help developers understand what a script exposes to the global scope.

Import Inspector
import mod from 'https://example.com/module.js'
var {mod} = await import('https://example.com/module/js');

Import Inspector complements global state diff by allowing users to specify a module URL and inspecting its exported bindings. It dynamically imports the module and lists all named and default exports, giving a clear view of what’s available for consumption.