@devlander/utils
Version:
Comprehensive JavaScript and TypeScript utilities for seamless development. Includes object manipulation, data validation, and more.
9 lines (8 loc) • 306 B
TypeScript
/**
* Universal base64 decoder for Node.js, browser, and React Native
*
* Decodes a base64-encoded string to a UTF-8 string in any JS environment.
* @param base64 - The base64-encoded string
* @returns The decoded UTF-8 string
*/
export declare function decodeBase64ToString(base64: string): string;