Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/encoding/README.md

The Deno Standard Library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
File

Utilities for encoding and decoding common formats like hex, base64, and varint.

This module is browser compatible.

import { encodeBase64 } from "https://deno.land/std@0.222.1/encoding/base64.ts";

encodeBase64("foobar"); // "Zm9vYmFy"