nope/lib/helpers/path.ts

14 lines
318 B
TypeScript
Raw Normal View History

/**
* @author Martin Karkowski
* @email m.karkowski@zema.de
* @create date 2022-01-10 18:29:07
* @modify date 2022-01-10 18:29:07
* @desc [description]
*/
import { replaceAll } from "./stringMethods";
export function convertPath(path: string): string {
return replaceAll(path, [".", "[", ["]", ""]], "/");
}