The Utilities
library provides a set of helpful methods for working with data, including encoding/decoding, formatting dates, generating random values, and parsing data.
-
Encode and Decode Base64 Strings:
Work with Base64 encoding and decoding. -
Format Timestamps:
Format a date object into a readable string. -
Generate a UUID:
Create a unique identifier. -
Create a Hash (MD5):
Generate an MD5 hash of a string. -
Sleep for a Set Duration:
Pause script execution for a few seconds. -
Zip and Unzip Files:
Compress multiple files into a zip and extract them. -
Validate Email Address Format:
Use regex to check email formats. -
Generate Random Numbers:
Produce random integers within a range. -
Parse JSON Strings:
Parse and work with JSON data. -
Create a MIME-Encoded Email:
Generate MIME-encoded messages.