Skip to main content
Module

x/skia_canvas/deps.ts

Fast HTML Canvas API implementation for Deno using Skia.
Go to Latest
import * as skiaCanvas from "https://deno.land/x/skia_canvas@0.2.0/deps.ts";

Functions

Creates a cross-platform url for the specified options

Opens a dynamic library and registers symbols, compatible with Deno.dlopen yet with extended functionality allowing you to use remote (or local) binaries, automatically building the binary name and controlling the caching policy.

Return the path to the cache location along with ensuring its existance

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.

Type Aliases

Options for fetching files (usually being dynamic libraries, but could possibly also be other dependencies) using plug. This can be either a string or an URL. All urls in plug can be either local or remote. If it is not an string or URL it can be some combination of the following options: