mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
2 lines
174 B
TypeScript
2 lines
174 B
TypeScript
export const b64Encode = (value: string) => Buffer.from(value).toString("base64");
|
|
export const b64Decode = (value: string) => Buffer.from(value, "base64").toString("ascii"); |