@visulima/email
Version:
A comprehensive email library with multi-provider support, crypto utilities, and template engines
9 lines (8 loc) • 360 B
TypeScript
/**
* Converts content to a base64-encoded string.
* Works across Node.js, Deno, Bun, and Workers.
* @param content The content to convert (string, Buffer, Uint8Array, or ArrayLike<number>).
* @returns The base64-encoded string.
*/
declare const toBase64: (content: string | Buffer | Uint8Array | ArrayLike<number>) => string;
export default toBase64;