Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/std/prettier/vendor/standalone.d.ts>format

A modern runtime for JavaScript and TypeScript.
Go to Latest
function format
import { format } from "https://deno.land/x/deno@v0.23.0/std/prettier/vendor/standalone.d.ts";

format is used to format text using Prettier. Options may be provided to override the defaults.

Parameters

source: string
optional
options: Options

Returns

string