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

x/hex/src/lib/stdx/fmt.ts>printf.sprintf

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
function printf.sprintf
import { printf } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/fmt.ts";
const { sprintf } = printf;

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