std/fmt/printf.ts

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

{@link sprintf} and {@link 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.