Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

javascript.prettier

import { javascript } from "https://garn.io/ts/v0.0.20/mod.ts"; 

const { prettier } = javascript;

A garn plugin that adds a format Executable that formats your code using prettier, and a Check to verify that your code is formatted.

function prettier(opts?: {
glob?: string;
config?: Record<string, unknown>;
}
): Plugin<{
format: Executable;
checkPrettier: Check;
}
, {
node_modules?: Package;
}
>
;
§
prettier(opts?: {
glob?: string;
config?: Record<string, unknown>;
}
): Plugin<{
format: Executable;
checkPrettier: Check;
}
, {
node_modules?: Package;
}
>
[src]

§Parameters

§
opts?: {
glob?: string;
config?: Record<string, unknown>;
}
optional
[src]

§Return Type

§
Plugin<{
format: Executable;
checkPrettier: Check;
}
, {
node_modules?: Package;
}
>
[src]