Skip to main content
Module

x/tl_log/examples/deploy.d.ts>Deno

Time-Level-Log for Deno🦕
Latest
namespace Deno
import { Deno } from "https://deno.land/x/tl_log@0.1.2/examples/deploy.d.ts";

Variables

Build related information.

Reflects the NO_COLOR environment variable. This is always set to true on Deno Deploy, as the logs page supports ANSI colors.

Functions

Return a string representing the current working directory.

Converts the input into a string that has the same format as printed by console.log().

Listen announces on the local transport address.

Reads and resolves to the entire contents of a file as an array of bytes. TextDecoder can be used to transform the bytes to string if required. Reading a directory returns an empty data array.

Asynchronously reads and returns the entire contents of a file as utf8 encoded string. Reading a directory throws an error.

Services HTTP requests given a TCP or TLS socket.

Used to upgrade an incoming HTTP request to a WebSocket.