Oslo

base64

Implements Base 64 encoding based on RFC 4648 ยง4 with Base64Encoding.

import { base64 } from "oslo/encoding";

const encoded = base64.encode(message);
const decoded = base64.decode(encoded);