CRUDUI

Home > @polyspec/crudui-validator > FileLoader > normalize

FileLoader.normalize() method

Resolve path against basepath to the canonical key the map uses.

Signature:

normalize(path: string, basepath: string): string;

Parameters

Parameter

Type

Description

path

string

basepath

string

Returns:

string