Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
workspaceAssetPath
Build a portable assets/namespace/filename reference. Validated single segments, a filename extension and no traversal; throws on invalid input. No I/O.
Import
import { workspaceAssetPath } from "@dartwic/interface-sdk";Declaration
export function workspaceAssetPath(namespace: string, name: string): string;