Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Cloud
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Pricing
Starts free and scales with your needs
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
deno_fmt
/
mod.ts
>
format
Programmatic code formatter for Deno and Deno Deploy, allowing you to format code on the fly. Supports all features and options of the `deno fmt` command.
nberlette/deno_fmt
Version
Latest
0.1.5
0.1.4
0.1.3
0.0.2
0.0.1
0.0.3
Menu
src
test
mod.ts
(default module)
N
c
Formatter
N
c
Options
T
defaultOptions
v
check
v
checkSync
v
default
v
fmt
v
format
v
formatSync
variable
format
import
{ format }
from
"https://deno.land/x/deno_fmt@0.1.5/mod.ts"
;
type
fmt.format