Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.38 KB

File metadata and controls

48 lines (34 loc) · 1.38 KB

Utilities Examples

The Utilities library provides a set of helpful methods for working with data, including encoding/decoding, formatting dates, generating random values, and parsing data.

Examples

  1. Encode and Decode Base64 Strings:
    Work with Base64 encoding and decoding.

  2. Format Timestamps:
    Format a date object into a readable string.

  3. Generate a UUID:
    Create a unique identifier.

  4. Create a Hash (MD5):
    Generate an MD5 hash of a string.

  5. Sleep for a Set Duration:
    Pause script execution for a few seconds.

  6. Zip and Unzip Files:
    Compress multiple files into a zip and extract them.

  7. Validate Email Address Format:
    Use regex to check email formats.

  8. Generate Random Numbers:
    Produce random integers within a range.

  9. Parse JSON Strings:
    Parse and work with JSON data.

  10. Create a MIME-Encoded Email:
    Generate MIME-encoded messages.

Scripts