Skip to main content
Module

x/abc/deps.ts

A better Deno framework to create web application.
Go to Latest
import * as abc from "https://deno.land/x/abc@v1.0.0-rc2/deps.ts";

Enums

HTTP status codes

Functions

Set the cookie header properly in the Response to delete it

Parse the cookies of the Server Request

Set the cookie header properly in the Response

Shorthand for new TextDecoder().decode()

Shorthand for new TextEncoder().encode()

Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator.

Generate a regex based on glob pattern and options This was meant to be using the the fs.walk function but can be used anywhere else. Examples:

Test whether the given string is a glob

Like join(), but doesn't collapse "**/.." when globstar is true.

Like normalize(), but doesn't collapse "**/.." when globstar is true.

Create a HTTP server

Create an HTTPS server with given options

Interfaces

A parsed path object generated by path.parse() or consumed by path.format().

Interface of HTTP server response. If body is a Reader, response would be chunked. If body is a string, it would be UTF-8 encoded by default.

Type Aliases

Options for creating an HTTP server.

Options for creating an HTTPS server.