Skip to content

normalizePath

Normalizes a path, resolving ’..’ and ’.’ segments.

Import:

import { normalizePath } from 'obsidian-dev-utils/path';

Signature:

const normalizePath: (this: void, path: string) => string

Type: (this: void, path: string) => string