import.meta

This is documentation for the next version of Grafana k6 documentation. For the latest stable release, go to the latest version.

Open source

import.meta

import.meta is only available in ECMAScript modules, but not CommonJS ones.

FunctionDescription
import.meta.resolveresolve path to URL the same way that an ESM import would