Skip to content

normalizePath

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

Import:

import { normalizePath } from '@mnaoumov/typescript-lib/path';

Signature:

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

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