no packages and conf copied

This commit is contained in:
Stefan Pejcic
2024-09-18 16:27:40 +02:00
parent fa69cae01f
commit ae4c612987
2611 changed files with 4571 additions and 591498 deletions

View File

@@ -1,14 +0,0 @@
export const stringToBase64 = (str: string) => {
if (typeof btoa !== "undefined") {
return btoa(str);
}
return Buffer.from(str).toString("base64");
};
export const base64ToString = (base64: string) => {
if (typeof atob !== "undefined") {
return atob(base64);
}
return Buffer.from(base64, "base64").toString();
};