Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function esbuildNative.analyzeMetafileSync
import { esbuildNative } from "https://deno.land/x/esbuild_deno_loader@0.7.1/test_deps.ts";
const { analyzeMetafileSync } = esbuildNative;

A synchronous version of "analyzeMetafile".

  • Works in node: yes
  • Works in browser: no

Documentation: https://esbuild.github.io/api/#analyze

Parameters

metafile: Metafile | string
optional
options: AnalyzeMetafileOptions

Returns

string