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

x/deno/std/strings/mod.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/mod.ts";

Variables

A default TextDecoder instance

A default TextEncoder instance

Functions

Shorthand for new TextDecoder().decode()

Shorthand for new TextEncoder().encode()

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