Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/easy_std/src/process.ts>denoFmt

Generic Deno standard library, focused on ease of use | 通用 Deno 标准库,专注于易用性
Go to Latest
function denoFmt
import { denoFmt } from "https://deno.land/x/easy_std@v0.7.0/src/process.ts";

call the deno subprocess to format the file requires the --allow-run and --allow-env flag.

Examples

Example 1

import { denoFmt } from "https://deno.land/x/easy_std@version/src/process.ts";

denoFmt(['foo.ts'])

Parameters

files: string[]