std/encoding
2024-05-16 08:58:53 +10:00
..
_util_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
_util.ts chore: update copyright year (#4046) 2024-01-02 08:11:32 +11:00
ascii85_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
ascii85.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
base32_test.ts test(encoding): improve test coverage (#4742) 2024-05-16 08:58:53 +10:00
base32.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
base58_test.ts test(encoding): improve test coverage (#4742) 2024-05-16 08:58:53 +10:00
base58.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
base64_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
base64.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
base64url_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
base64url.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
deno.json chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
hex_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
hex.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
README.md chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
varint_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
varint.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00

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

This module is browser compatible.

import { encodeBase64 } from "@std/encoding/base64";

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