# tabulate

> fit tabular data to the width of your terminal

Latest version **1.0.0** (published 2014-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install tabulate
pnpm add tabulate
yarn add tabulate
bun add tabulate
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-03-23 |
| First published | 2013-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | hij1nx |
| Maintainers | hij1nx |
| Keywords | terminal, tabulate, columns, column-data, cols, lists, output, stdout |

## Links

- npm: https://www.npmjs.com/package/tabulate
- Repository: https://github.com/hij1nx/tabulate
- Issues: https://github.com/hij1nx/tabulate/issues
- npm.io page: https://npm.io/package/tabulate

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2014-03-23
- 0.0.1 — 2013-06-30

## README

# SYNOPSIS
columns for streams

# EXAMPLE
### Code
```js
var Tabulate = require('./index')
var t = Tabulate(process.stdout)

function rnum(min, max) {
  return Math.floor(Math.random() * (max - min) + min)
}

var r = Array
  .apply(null, Array(130))
  .map(function() { return String(rnum(1, 1e9)) })

console.log(t.write(r))
```

### Output
Here is the output from an actual project that uses the 
[`tabulate`](https://github.com/hij1nx/lev) module.

![img](/cols.png)

---
_Source: https://npm.io/package/tabulate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
