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

x/simple_utility/src/deno/path.ts>dataPath

Simplify processing for Deno.
Go to Latest
function dataPath
import { dataPath } from "https://deno.land/x/simple_utility@v2.0.9/src/deno/path.ts";

System-wide application data directory path for each OS. /var for UNIX and C:/ProgramData for Windows.

Examples

Example 1

const path = dataPath();

Returns

string