Skip to main content
Module

std/fmt/printf.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.158.0/fmt/printf.ts";

sprintf and printf for printing formatted strings to stdout.

This implementation is inspired by POSIX and Golang but does not port implementation code.

Functions

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

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