Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 790 Bytes

IMPORTMETA.md

File metadata and controls

21 lines (13 loc) · 790 Bytes

import.meta properties

The TC39 import.meta

url

From the HTML specification,

the module script's base URL, serialized At a high level, roughly, this means: the directory where the running module came from.

Environment support:

resolveURL

Status: Proposed for the web

require

Status: Proposed for Node.js (TODO: link?)