All Versions
Latest Version
Avg Release Cycle
159 days
Latest Release
1375 days ago

Changelog History

  • v1.1.1 Changes

    September 06, 2020

    ๐Ÿ›  Fixes a bug where the processed lines were not actually being delimited with newlines on output.

  • v1.1.0 Changes

    November 22, 2019

    Recent changes have greatly reduced the allocations used by the library when padding each field of the flat data input.

  • v1.0.0 Changes

    November 15, 2019
    • โœ‚ Removes an unused interface and commentary referencing it.
    • โœ‚ Removes some extraneous logic when defaults were already defined.
    • Some slight renaming and unexporting of underlying reader/writer which didn't need to be exported.

    It's been 2 years. Going with a v1.0.0.

  • v0.5 Changes

    September 10, 2017
    • โž• Add a Pad count to PaddingOpts in order to choose the amount of whitespace around the separator.
    • Create the -p flag to the CLI for this padding option
  • v0.4 Changes

    September 06, 2017

    ๐Ÿ“ฆ Converted package to a lib and exposed the appropriate methods to create the public API thanks to @briandowns !

    The CLI now lives in a subdirectory /cmd

  • v0.3 Changes

    September 01, 2017

    Provides a new flag, -i which allows the user to specify the justification for particular columns.

    • 1 or more columns can have such an override specified
    • The -i flag is NOT required

    0๏ธโƒฃ Example (default justification of left with column overrides for field 1 and 4):
    cat file.csv | align -i 1:right,4:center

    • ๐Ÿ“š Minor updates to documentation
  • v0.2 Changes

    August 22, 2017
    • #57 revealed a bug for proper padding with certain international characters
    • ๐Ÿ›  vendored a dependency which fixes the count of the string width properly
  • v0.1 Changes

    August 21, 2017

    ๐Ÿ”‹ Features

    • align text by a specified delimiter / separator
    • specify a different output delimiter
    • 0๏ธโƒฃ specify an input file or pipe to stdin (default)
    • 0๏ธโƒฃ specify an output file or write to stdout (default)
    • filter the fields outputted by column number
    • left, center, or right justification
    • escape the delimiter in a text field with a text qualifier option