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

std/encoding

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
Index
csv
front_matter

Extracts front matter from strings.

json
varint

Functions for encoding typed integers in array buffers.

ascii85.ts

encode and decode for Ascii85/base85 encoding.

base32.ts

encode and decode for base32 encoding.

base58.ts

encode and decode for base58 encoding.

base64.ts

encode and decode for base64 encoding.

base64url.ts

encode and decode for base64 URL safe encoding.

binary.ts

Functions for encoding binary data in array buffers.

csv.ts

Port of the Go encoding/csv library.

front_matter.ts
hex.ts

Port of the Go encoding/hex library.

jsonc.ts

parse function for parsing JSONC (JSON with Comments) strings.

toml.ts

parse and stringify for handling TOML encoded data. Be sure to read the supported types as not every spec is supported at the moment and the handling in TypeScript side is a bit different.

varint.ts

Functions for encoding typed integers in array buffers.

yaml.ts

parse and stringify for handling YAML encoded data.