Skip to content

Documentation / base / textToBase64

Function: textToBase64()

textToBase64(text): string

Defined in: libs/base/src/utils.ts:582

Converts a string to Base64 (Supports emoji character)

Parameters

text

string

String to convert

Returns

string

Base64 string

Released under the MIT License.