Skip to main content
Module

x/skia_canvas/deps.ts>ensureCacheLocation

Fast JavaScript Canvas using Skia
Go to Latest
function ensureCacheLocation
import { ensureCacheLocation } from "https://deno.land/x/skia_canvas@0.1.1/deps.ts";

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

Parameters

optional
location: CacheLocation = [UNSUPPORTED]

See the CacheLocation type

Returns

Promise<string>

The cache location path