import.meta

The `import.meta` meta-property provides a host-defined object which exposes context-specific metadata to a JavaScript module (e.g. the enclosing module's URL or associated <script> element).

Documentation

Specification

Editor's draft

Status in Chromium

Blink>JavaScript>Language


Enabled by default (tracking bug) in:

  • Chrome for desktop release 64
  • Chrome for Android release 64
  • Android WebView release 64
  • Opera release 51
  • Opera for Android release 51

Consensus & Standardization

  • No public signals
  • No public signals
  • In development
  • Positive

Owners

Last updated on 2017-11-01