minitable

0.0.4 • Public • Published

minitable

Build Status Dependency Status NPM version

Minimal table-layout renderer for output styler/writer.

Used in combination with minichain to write table layouts for minimal semantic output write/stylers. The layout is calculated using a plain ministyle and any padding is then applied to a custom style like ministyle.ansi() or ministyle.html().

Intend as companion to miniwrite and ministyle (et al).

Installation

$ npm install minitable --save

API

Undocumented until API stabilises some more.

History

  • 0.0.1 - Extracted from incubator project.

Build

Install development dependencies in your git checkout:

$ npm install

Build and run tests:

$ grunt

See the Gruntfile.js for additional commands.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Note: this is an opinionated module: please create a ticket to discuss any big ideas. Pull requests for bug fixes are of course always welcome.

License

Copyright (c) 2013 Bart van der Schoor

Licensed under the MIT license.

Bitdeli Badge

Package Sidebar

Install

npm i minitable

Weekly Downloads

778

Version

0.0.4

License

none

Last publish

Collaborators

  • bartvds