diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2015-04-10 16:21:15 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2015-04-10 16:21:15 +0300 |
commit | 2aecc6f4083526feeb14615b4e5484edc66175b5 (patch) | |
tree | 2a433b4454ce591d84cf82081c6b637efb2300f9 /node_modules/columnify/Readme.md | |
parent | 87671131cfc448796bb155a3a01254f2720bda3a (diff) |
columnify@1.5.1
Switch to using babel from 6to5.
Diffstat (limited to 'node_modules/columnify/Readme.md')
-rw-r--r-- | node_modules/columnify/Readme.md | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/node_modules/columnify/Readme.md b/node_modules/columnify/Readme.md index b2b846f36..4a37928a7 100644 --- a/node_modules/columnify/Readme.md +++ b/node_modules/columnify/Readme.md @@ -1,6 +1,9 @@ # columnify -[![Build Status](https://travis-ci.org/timoxley/columnify.png?branch=master)](https://travis-ci.org/timoxley/columnify) +[![NPM](https://nodei.co/npm/columnify.png?downloads=true&downloadRank=true&stars=true&chrome)](https://nodei.co/npm-dl/columnify/) +[![NPM](https://nodei.co/npm-dl/columnify.png?months=3&height=3&chrome)](https://nodei.co/npm/columnify/) + +[![Build Status](https://img.shields.io/travis/timoxley/columnify.svg?style=flat)](https://travis-ci.org/timoxley/columnify) [![NPM Version](https://img.shields.io/npm/v/columnify.svg?style=flat)](https://npmjs.org/package/columnify) [![License](http://img.shields.io/npm/l/columnify.svg?style=flat)](LICENSE) [![Dependency Status](https://david-dm.org/timoxley/columnify.svg)](https://david-dm.org/timoxley/columnify) @@ -366,6 +369,15 @@ var columns = columnify(data, { }) ``` +This also works well for hiding a single column header, like an `id` column: +```javascript +var columns = columnify(data, { + config: { + id: { showHeaders: false } + } +}) +``` + ### Transforming Column Data and Headers If you need to modify the presentation of column content or heading content there are two useful options for doing that: `dataTransform` and `headerTransform`. Both of these take a function and need to return a valid string. |