Created end to end demo

This commit is contained in:
Saud Fatayerji
2023-10-29 20:19:59 +02:00
parent 3006478e9c
commit 261cbe64f2
10 changed files with 512 additions and 213 deletions

View File

@@ -0,0 +1,9 @@
export function appendToFilename(inputPath: string, toAppend: string) {
const parts = inputPath.split('.');
if (parts.length > 1) {
parts[parts.length-2] = parts[parts.length-2] + toAppend;
}
return parts.join(".");
}