# minitable

[![Build Status](https://secure.travis-ci.org/Bartvds/minitable.png?branch=master)](http://travis-ci.org/Bartvds/minitable) [![Dependency Status](https://gemnasium.com/Bartvds/minitable.png)](https://gemnasium.com/Bartvds/minitable) [![NPM version](https://badge.fury.io/js/minitable.png)](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.

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/Bartvds/minitable/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

