the module specifier to import
OptionaloptsOrMsg: OptsOrMessage
options, or message to log when the module is not found
synchronously check whether the module is available, without evaluating it
the module specifier to check
true if the specifier resolves
function to log message, default to use console.log, you can replace this with
another function.
synchronously resolve the module's URL, without evaluating it
the module specifier to resolve
OptionaloptsOrMsg: OptsOrMessage
options, or message to log when the module is not found
the resolved URL, or the default / notFound result when not found
function to import a module with optional handling in case it's not found