to msgpackz

For formats.

Convert Nu values into brotli-compressed MessagePack.

Command Type

built-in

Signature

> to msgpackz {flags}

Flags

  • --quality, -q {int}: Quality of brotli compression (default 3).
  • --window-size, -w {int}: Window size for brotli compression (default 20).
  • --serialize, -s: Serialize nushell types that cannot be deserialized.

Input/output types:

input output
any binary

Notes

This is the format used by the plugin registry file ($nu.plugin-path).

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.