table-layout

Styleable plain-text table generator. Useful for formatting console output.

MIT License

Downloads
7.7M
Stars
23
Committers
5
table-layout - v4.0.0 Latest Release

Published by 75lb 4 months ago

There were no functional changes in this release, all behaviour is the same.

Breaking changes since v3.0.2

  • Dropped support for NodeJs versions less than v16
  • Moved the command-line tool out into a separate project.

Misc improvements

  • Some dependency tree optimisations
  • Added a trivial web front-end to demonstrate isomorphism.
    • From the root of the project, launch a web server (e.g. local-web-server) then navigate to the examples/web folder to view the front-end.
table-layout - v3.0.0

Published by 75lb about 3 years ago

Breaking changes since v2.1.0

  • Removed legacy UMD distribution from the package
    • This version was for AMD projects and old browsers which are rarely used anymore.

New features since v2.1.0

  • Added a command-line interface
    • The CLI was previously a separate project. It is now included with table-layout.
  • Added getter function to column options to assist display of computed/transformed/cherry-picked values. See here for an example. #14
  • Added the --file option to the CLI, e.g. ($ table-layout --file input.json or just $ table-layout input.json).
    • Previously the input data could only be piped into the CLI

Other non-functional changes

  • Extend support back to node v12.17 (previously table-layout required v14)
  • Renamed all .mjs files to .js
  • Added more documentation and examples. Moved API docs to a separate file.