Skip to main content
Module

std/fmt/printf.ts>sprintf

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

Converts and format a variable number of args as is specified by format. sprintf returns the formatted string.

Parameters

format: string
...args: unknown[]

Returns

string