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

std/console/unicode_width.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.203.0/console/unicode_width.ts";

Functions

Get the width of a string's constituent characters in columns in TTY-like environments.