base64

    base64 command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.4
    License
    Apache-2.0
    Last updated
    16 days ago
    Downloads
    17

    Dependencies

    #base64 for moonx

    Support note (2026-09-05): this README is supplementary. The support record is the only capability authority; it separates native compatibility evidence from Wasm policy and smoke evidence. Options mentioned here but not promoted in that record are not compatibility guarantees.

    Base64 encode or decode a file or stdin:

    printf 'hello' | moonx cli/base64 moonx cli/base64 -d encoded.txt moonx cli/base64 -w 0 big.bin # no line wrapping

    Options: -d/-D decode (embedded newlines are always accepted), -i/ --ignore-garbage discard non-alphabet bytes while decoding, and -w N wrap encoded output after N characters (default 76, 0 disables). Standard alphabet with = padding. Invalid input is rejected unless garbage mode is explicitly selected.

    With no file operand, the command silently reads stdin until EOF, matching the upstream terminal, pipe, redirection, and explicit - behavior.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io