base32

    base32 command for MoonX.

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

    #base32

    Encode and decode Base32 for MoonX.

    moonx cli/base32@0.1.4 [-d] [-i] [-w COLS] [FILE]

    #Supported scope

    Encode files or stdin with the RFC 4648 alphabet. With no file, or -, read stdin. Output wraps at 76 columns by default.

    #Options

    OptionDescription
    -d, --decodeDecode input.
    -i, --ignore-garbageIgnore non-alphabet bytes when decoding.
    -w, --wrap=COLSSet output width; 0 disables wrapping and the final newline.
    --help / --versionShow help / package version.

    #Limitations

    • Lowercase symbols are invalid unless discarded with -i; malformed input can fail after emitting a valid prefix.
    • Nonstandard alphabets and locale-specific behavior are unsupported.

    #Examples

    printf 'hello' | moonx cli/base32@0.1.4 printf 'NBSWY3DP' | moonx cli/base32@0.1.4 -d

    Source Files