Categories
type alias PathOrUrl

A filesystem location as a path string or file:// URL, accepted wherever an option names a directory or file.

Examples

Example 1

import type { PathOrUrl } from 'jsr:@kjanat/importmapify';

const root: PathOrUrl = new URL('..', import.meta.url);

Definition

string | URL