{
	"name": "cli-table",
	"versions": {
		"0.0.1": {
			"name": "cli-table",
			"description": "Pretty unicode tables for the CLI",
			"version": "0.0.1",
			"author": {
				"name": "Guillermo Rauch",
				"email": "guillermo@learnboost.com"
			},
			"keywords": [
				"cli",
				"colors",
				"table"
			],
			"dependencies": {
				"colors": "0.3.0"
			},
			"main": "./index",
			"engines": {
				"node": ">= 0.2.0"
			},
			"_id": "cli-table@0.0.1",
			"_engineSupported": true,
			"_npmVersion": "0.2.13-3",
			"_nodeVersion": "v0.2.6",
			"dist": {
				"shasum": "94ef7bb0eee22ae427b4b8106d9c366b80729602",
				"tarball": "https://registry.npmjs.org/cli-table/-/cli-table-0.0.1.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"0.0.2": {
			"name": "cli-table",
			"description": "Pretty unicode tables for the CLI",
			"version": "0.0.2",
			"author": {
				"name": "Guillermo Rauch",
				"email": "guillermo@learnboost.com"
			},
			"keywords": [
				"cli",
				"colors",
				"table"
			],
			"dependencies": {
				"colors": "0.3.0"
			},
			"main": "./index.js",
			"engines": {
				"node": ">= 0.2.0"
			},
			"_npmUser": {
				"name": "rauchg",
				"email": "rauchg@gmail.com"
			},
			"_id": "cli-table@0.0.2",
			"devDependencies": {},
			"optionalDependencies": {},
			"_engineSupported": true,
			"_npmVersion": "1.1.1",
			"_nodeVersion": "v0.6.13",
			"_defaultsLoaded": true,
			"dist": {
				"shasum": "982867e16435325c66c208a1e71b95336ea3093b",
				"tarball": "https://registry.npmjs.org/cli-table/-/cli-table-0.0.2.tgz"
			},
			"maintainers": [
				{
					"name": "rauchg",
					"email": "rauchg@gmail.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.2.0": {
			"name": "cli-table",
			"description": "Pretty unicode tables for the CLI",
			"version": "0.2.0",
			"author": {
				"name": "Guillermo Rauch",
				"email": "guillermo@learnboost.com"
			},
			"contributors": [
				{
					"name": "Sonny Michaud",
					"email": "michaud.sonny@gmail.com",
					"url": "http://github.com/sonnym"
				}
			],
			"keywords": [
				"cli",
				"colors",
				"table"
			],
			"dependencies": {
				"colors": "0.3.0"
			},
			"devDependencies": {
				"expresso": "~0.9",
				"should": "~0.6"
			},
			"main": "./index.js",
			"engines": {
				"node": ">= 0.2.0"
			},
			"_id": "cli-table@0.2.0",
			"dist": {
				"shasum": "34c63eb532c206e9e5e4ae0cb0104bd1fd27317c",
				"tarball": "https://registry.npmjs.org/cli-table/-/cli-table-0.2.0.tgz"
			},
			"_npmVersion": "1.1.59",
			"_npmUser": {
				"name": "rauchg",
				"email": "rauchg@gmail.com"
			},
			"maintainers": [
				{
					"name": "rauchg",
					"email": "rauchg@gmail.com"
				}
			],
			"directories": {}
		},
		"0.3.0": {
			"name": "cli-table",
			"description": "Pretty unicode tables for the CLI",
			"version": "0.3.0",
			"author": {
				"name": "Guillermo Rauch",
				"email": "guillermo@learnboost.com"
			},
			"contributors": [
				{
					"name": "Sonny Michaud",
					"email": "michaud.sonny@gmail.com",
					"url": "http://github.com/sonnym"
				}
			],
			"keywords": [
				"cli",
				"colors",
				"table"
			],
			"dependencies": {
				"colors": "0.6.2"
			},
			"devDependencies": {
				"expresso": "~0.9",
				"should": "~0.6"
			},
			"main": "./index.js",
			"engines": {
				"node": ">= 0.2.0"
			},
			"_id": "cli-table@0.3.0",
			"dist": {
				"shasum": "44a43c2641667701e084202bff7aa934128aa13e",
				"tarball": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.0.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.22",
			"_npmUser": {
				"name": "rauchg",
				"email": "rauchg@gmail.com"
			},
			"maintainers": [
				{
					"name": "rauchg",
					"email": "rauchg@gmail.com"
				}
			],
			"directories": {}
		},
		"0.3.1": {
			"name": "cli-table",
			"description": "Pretty unicode tables for the CLI",
			"version": "0.3.1",
			"author": {
				"name": "Guillermo Rauch",
				"email": "guillermo@learnboost.com"
			},
			"contributors": [
				{
					"name": "Sonny Michaud",
					"email": "michaud.sonny@gmail.com",
					"url": "http://github.com/sonnym"
				}
			],
			"repository": {
				"type": "git",
				"url": "https://github.com/Automattic/cli-table.git"
			},
			"keywords": [
				"cli",
				"colors",
				"table"
			],
			"dependencies": {
				"colors": "1.0.3"
			},
			"devDependencies": {
				"expresso": "~0.9",
				"should": "~0.6"
			},
			"main": "lib",
			"files": [
				"lib"
			],
			"scripts": {
				"test": "make test"
			},
			"engines": {
				"node": ">= 0.2.0"
			},
			"gitHead": "e35ccee7341e8574839df751a8aa10acd5a82a5b",
			"bugs": {
				"url": "https://github.com/Automattic/cli-table/issues"
			},
			"homepage": "https://github.com/Automattic/cli-table",
			"_id": "cli-table@0.3.1",
			"_shasum": "f53b05266a8b1a0b934b3d0821e6e2dc5914ae23",
			"_from": ".",
			"_npmVersion": "1.4.21",
			"_npmUser": {
				"name": "rauchg",
				"email": "rauchg@gmail.com"
			},
			"maintainers": [
				{
					"name": "rauchg",
					"email": "rauchg@gmail.com"
				}
			],
			"dist": {
				"shasum": "f53b05266a8b1a0b934b3d0821e6e2dc5914ae23",
				"tarball": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz"
			},
			"directories": {}
		}
	},
	"time": {
		"modified": "2020-01-15T13:55:38.472Z",
		"created": "2011-01-04T03:29:59.109Z",
		"0.0.1": "2011-01-04T03:29:59.419Z",
		"0.0.2": "2012-05-10T02:49:40.120Z",
		"0.2.0": "2012-10-21T18:20:14.754Z",
		"0.3.0": "2014-02-02T19:15:07.836Z",
		"0.3.1": "2014-10-22T23:28:39.270Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "0.3.1"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"7a507264af88a50ab1342b2f5c5bd9d0\"",
			"fetched": 1594657073383
		}
	},
	"_distfiles": {
		"cli-table-0.0.1.tgz": {
			"url": "https://registry.npmjs.org/cli-table/-/cli-table-0.0.1.tgz",
			"sha": "94ef7bb0eee22ae427b4b8106d9c366b80729602",
			"registry": "npmjs"
		},
		"cli-table-0.0.2.tgz": {
			"url": "https://registry.npmjs.org/cli-table/-/cli-table-0.0.2.tgz",
			"sha": "982867e16435325c66c208a1e71b95336ea3093b",
			"registry": "npmjs"
		},
		"cli-table-0.2.0.tgz": {
			"url": "https://registry.npmjs.org/cli-table/-/cli-table-0.2.0.tgz",
			"sha": "34c63eb532c206e9e5e4ae0cb0104bd1fd27317c",
			"registry": "npmjs"
		},
		"cli-table-0.3.0.tgz": {
			"url": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.0.tgz",
			"sha": "44a43c2641667701e084202bff7aa934128aa13e",
			"registry": "npmjs"
		},
		"cli-table-0.3.1.tgz": {
			"url": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz",
			"sha": "f53b05266a8b1a0b934b3d0821e6e2dc5914ae23",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"cli-table-0.3.1.tgz": {
			"shasum": "f53b05266a8b1a0b934b3d0821e6e2dc5914ae23"
		}
	},
	"_rev": "3-7a6d6600472c016a",
	"_id": "cli-table",
	"readme": "CLI Table [![NPM Version](http://badge.fury.io/js/cli-table.svg)](http://badge.fury.io/js/cli-table) [![Build Status](https://secure.travis-ci.org/Automattic/cli-table.svg)](http://travis-ci.org/Automattic/cli-table)\n=========\n\nThis utility allows you to render unicode-aided tables on the command line from\nyour node.js scripts.\n\n![Screenshot](http://i.imgur.com/sYq4T.png)\n\n## Features\n\n- Customizable characters that constitute the table.\n- Color/background styling in the header through\n  [colors.js](http://github.com/marak/colors.js)\n- Column width customization\n- Text truncation based on predefined widths\n- Text alignment (left, right, center)\n- Padding (left, right)\n- Easy-to-use API\n\n## Installation\n\n```bash    \nnpm install cli-table\n```\n\n## How to use\n\n### Horizontal Tables\n```javascript\nvar Table = require('cli-table');\n\n// instantiate\nvar table = new Table({\n    head: ['TH 1 label', 'TH 2 label']\n  , colWidths: [100, 200]\n});\n\n// table is an Array, so you can `push`, `unshift`, `splice` and friends\ntable.push(\n    ['First value', 'Second value']\n  , ['First value', 'Second value']\n);\n\nconsole.log(table.toString());\n```\n\n### Vertical Tables\n```javascript\nvar Table = require('cli-table');\nvar table = new Table();\n\ntable.push(\n    { 'Some key': 'Some value' }\n  , { 'Another key': 'Another value' }\n);\n\nconsole.log(table.toString());\n```\n### Cross Tables\nCross tables are very similar to vertical tables, with two key differences:\n\n1. They require a `head` setting when instantiated that has an empty string as the first header\n2. The individual rows take the general form of { \"Header\": [\"Row\", \"Values\"] }\n\n```javascript\nvar Table = require('cli-table');\nvar table = new Table({ head: [\"\", \"Top Header 1\", \"Top Header 2\"] });\n\ntable.push(\n    { 'Left Header 1': ['Value Row 1 Col 1', 'Value Row 1 Col 2'] }\n  , { 'Left Header 2': ['Value Row 2 Col 1', 'Value Row 2 Col 2'] }\n);\n\nconsole.log(table.toString());\n```\n\n### Custom styles\nThe ```chars``` property controls how the table is drawn:\n```javascript\nvar table = new Table({\n  chars: { 'top': '═' , 'top-mid': '╤' , 'top-left': '╔' , 'top-right': '╗'\n         , 'bottom': '═' , 'bottom-mid': '╧' , 'bottom-left': '╚' , 'bottom-right': '╝'\n         , 'left': '║' , 'left-mid': '╟' , 'mid': '─' , 'mid-mid': '┼'\n         , 'right': '║' , 'right-mid': '╢' , 'middle': '│' }\n});\n\ntable.push(\n    ['foo', 'bar', 'baz']\n  , ['frob', 'bar', 'quuz']\n);\n\nconsole.log(table.toString());\n// Outputs:\n//\n//╔══════╤═════╤══════╗\n//║ foo  │ bar │ baz  ║\n//╟──────┼─────┼──────╢\n//║ frob │ bar │ quuz ║\n//╚══════╧═════╧══════╝\n```\n\nEmpty decoration lines will be skipped, to avoid vertical separator rows just\nset the 'mid', 'left-mid', 'mid-mid', 'right-mid' to the empty string:\n```javascript\nvar table = new Table({ chars: {'mid': '', 'left-mid': '', 'mid-mid': '', 'right-mid': ''} });\ntable.push(\n    ['foo', 'bar', 'baz']\n  , ['frobnicate', 'bar', 'quuz']\n);\n\nconsole.log(table.toString());\n// Outputs: (note the lack of the horizontal line between rows)\n//┌────────────┬─────┬──────┐\n//│ foo        │ bar │ baz  │\n//│ frobnicate │ bar │ quuz │\n//└────────────┴─────┴──────┘\n```\n\nBy setting all chars to empty with the exception of 'middle' being set to a\nsingle space and by setting padding to zero, it's possible to get the most\ncompact layout with no decorations:\n```javascript\nvar table = new Table({\n  chars: { 'top': '' , 'top-mid': '' , 'top-left': '' , 'top-right': ''\n         , 'bottom': '' , 'bottom-mid': '' , 'bottom-left': '' , 'bottom-right': ''\n         , 'left': '' , 'left-mid': '' , 'mid': '' , 'mid-mid': ''\n         , 'right': '' , 'right-mid': '' , 'middle': ' ' },\n  style: { 'padding-left': 0, 'padding-right': 0 }\n});\n\ntable.push(\n    ['foo', 'bar', 'baz']\n  , ['frobnicate', 'bar', 'quuz']\n);\n\nconsole.log(table.toString());\n// Outputs:\n//foo        bar baz\n//frobnicate bar quuz\n```\n\n## Running tests\n\nClone the repository with all its submodules and run:\n\n```bash\n$ make test\n```\n\n## Credits\n\n- Guillermo Rauch &lt;guillermo@learnboost.com&gt; ([Guille](http://github.com/guille))\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2010 LearnBoost &lt;dev@learnboost.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
}