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

x/deno/std/strings/pad.ts

A modern runtime for JavaScript and TypeScript.
Go to Latest
import * as deno from "https://deno.land/x/deno@v0.28.0/std/strings/pad.ts";

Functions

Pad helper for strings. Input string is processed to output a string with a minimal length. If the parameter strict is set to true, the output string length is equal to the strLen parameter. Example:

Interfaces

FillOption Object