Base64 Module
Last updated
Was this helpful?
Last updated
Was this helpful?
Simple, fast base64 encoding/decoding service. Import
Encode a string.
Arguments
value
(String) a string to base64 encode
Returns
value
(String) a base64 encoded string
Decode a string into a string or buffer.
Arguments
value
(String) a base64 string to decode
asBuffer
(Boolean=false) If true, returns a buffer instead of a string.
Returns
value
(String|Buffer) a decoded string/buffer
Encode Example
Encode Response
Decode Example
Decode Response