Skip to main content
Module

x/cookiedb/deps.ts

A byte sized database for everyone
Go to Latest
import * as cookiedb from "https://deno.land/x/cookiedb@0.4.0/deps.ts";

Functions

Make an assertion, error will be thrown if expr does not have truthy value.

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Make an assertion that actual and expected are not equal, deeply. If not then throw.

Make the text bold.

Set text color to bright red.

Deeply merge objects.

Deserialize data as BSON.

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

Take a set of command line arguments, optionally with a set of options, and return an object representing the flags found in the passed arguments.

Set text color using 24bit rgb. color can be a number in range 0x000000 to 0xffffff or an Rgb.

Serialize a Javascript object.

Serves HTTP requests with the given handler.

Serves HTTPS requests with the given handler.

Given a writer with an rid, determine the amount of color support it has.