Interface ImportMeta

The import.meta meta-property exposes context-specific metadata to a JavaScript module. It contains information about the module, such as the module's URL.

Hierarchy

  • ImportMeta

Properties

Properties

main: boolean

Set to true when the JavaScript module that is being executed is the entrypoint file of the application.

url: string

Contains the absolute URL of the JavaScript module that is being executed.

Example

"romfs:/main.js"

Generated using TypeDoc