minitable
Version:
Minimal table-layout for semantic styler/writer
51 lines (26 loc) • 1.84 kB
Markdown
# minitable
[](http://travis-ci.org/Bartvds/minitable) [](https://gemnasium.com/Bartvds/minitable) [](http://badge.fury.io/js/minitable)
> Minimal table-layout renderer for output styler/writer.
Used in combination with [minichain](https://github.com/Bartvds/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](https://github.com/Bartvds/miniwrite) and [ministyle](https://github.com/Bartvds/ministyle) (et al).
## Installation
```shell
$ 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](http://gruntjs.com/).
*Note:* this is an opinionated module: please create a [ticket](https://github.com/Bartvds/minitable/issues) 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.
[](https://bitdeli.com/free "Bitdeli Badge")