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

x/deno_slack_api/deps.ts

Slack API Client for Deno Run on Slack projects
Go to Latest
import * as denoSlackApi from "https://deno.land/x/deno_slack_api@2.7.0/deps.ts";

Classes

The base class that all derivative HTTP extend, providing a status and an expose property.

Functions

A factory function which provides a way to create errors. It takes up to 3 arguments, the error Status, an message, which defaults to the status text and error options, which incudes the expose property to set the .expose value on the error.

Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. Requires the --allow-read and --allow-write flag.

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.