← Back to release summary

import.meta

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 64)
Intent stage
None

Summary

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).

Standards & signals

Docs: https://docs.google.com/document/d/1XUmaB3LfneOjjtTN_6GHsHfpvdL2EYKJAyfOCaEGars/edit?usp=sharing

View on chromestatus.com