base64

    base64 command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.4
    License
    Apache-2.0
    Last updated
    10 hours ago
    Downloads
    94

    #base64

    Encode and decode Base64 for MoonX.

    moonx cli/base64@0.2.4 [-d|-D] [-i] [-w COLS] [FILE]

    #Supported scope

    Encode files or stdin using the standard alphabet and = padding. With no file, or -, read stdin. Default output width is 76.

    #Options

    OptionDescription
    -d, -D, --decodeDecode input; embedded newlines are accepted.
    -i, --ignore-garbageDiscard non-alphabet bytes while decoding.
    -w, --wrap=COLSSet output width; 0 disables wrapping and the final newline.
    --help / --versionShow help / package version.

    #Limitations

    • Ignoring garbage does not make malformed Base64 valid.

    #Examples

    printf 'hello' | moonx cli/base64@0.2.4 moonx cli/base64@0.2.4 -d encoded.txt

    Source Files

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io