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

std/node/util.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.151.0/node/util.ts";

Functions

f
_extend
deprecated

Returns a system error name from an error code number.

Echos the value of any input. Tries to print the value out in the best way possible given the different types.

f
isArray
deprecated
f
isBoolean
deprecated
f
isBuffer
deprecated
f
isDate
deprecated
f
isError
deprecated
f
isFunction
deprecated
f
isNull
deprecated
f
isNumber
deprecated
f
isObject
deprecated
f
isPrimitive
deprecated
f
isRegExp
deprecated
f
isString
deprecated
f
isSymbol
deprecated
f
isUndefined
deprecated
f
log
deprecated

Log is just a thin wrapper to console.log that prepends a timestamp

Remove all VT control characters. Use to estimate displayed string width.

Type Aliases

The global TextDecoder

The global TextEncoder