Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/fmt/printf.ts>printf

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function printf
import { printf } from "https://deno.land/std@0.127.0/fmt/printf.ts";

Converts and format a variable number of args as is specified by format. printf writes the formatted string to standard output.

Parameters

format: string
...args: unknown[]