encode

Provides various encoding and decoding utilities for strings, including Base64, URI, hexadecimal, HTML, and Base58. This module is designed to handle common encoding tasks in a web application context. It includes methods for encoding and decoding strings in different formats, ensuring compatibility with various data transmission and storage requirements. It also provides URL-safe encoding methods and HTML entity encoding to prevent XSS attacks.
Description:
  • Provides various encoding and decoding utilities for strings, including Base64, URI, hexadecimal, HTML, and Base58. This module is designed to handle common encoding tasks in a web application context. It includes methods for encoding and decoding strings in different formats, ensuring compatibility with various data transmission and storage requirements. It also provides URL-safe encoding methods and HTML entity encoding to prevent XSS attacks.

Namespaces

base58
base64
hex
html
uri