Skip to main content
Module

x/fastro/http/build/deps.ts>esbuild.formatMessages

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Go to Latest
function esbuild.formatMessages
import { esbuild } from "https://deno.land/x/fastro@v0.85.0/http/build/deps.ts";
const { formatMessages } = esbuild;

Converts log messages to formatted message strings suitable for printing in the terminal. This allows you to reuse the built-in behavior of esbuild's log message formatter. This is a batch-oriented API for efficiency.

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

Returns

Promise<string[]>