@stryke/path
Version:
A package containing various utilities that expand the functionality of NodeJs's built-in `path` module
18 lines • 510 B
text/typescript
//#region src/slash.d.ts
/**
* Replace backslash to slash
*
* @param path - The string to replace
* @returns The string with replaced backslashes
*/
declare function slash(path: string): string;
/**
* Replace backslash to slash and remove unneeded leading and trailing slashes
*
* @param path - The string to replace
* @returns The string with replaced backslashes
*/
declare function formatSlash(path: string): string;
//#endregion
export { formatSlash, slash };
//# sourceMappingURL=slash.d.mts.map