Module metadata

    • import.meta can provide information on the context of the module.
    • The string will give you the URL of the current module.

    Example

    `

    `

    If is located in /home/alice/deno then the output of is:

    `