# printable

> print array like table into console

Latest version **0.0.3** (published 2012-09-10) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2012-09-10 |
| First published | 2012-09-05 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.6 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | dead_horse |
| Maintainers | dead_horse |
| Keywords | print, table |

## Links

- npm: https://www.npmjs.com/package/printable
- Repository: git@github.com/dead-horse/printable
- npm.io page: https://npm.io/package/printable

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2012-09-10
- 0.0.2 — 2012-09-05
- 0.0.1 — 2012-09-05

## README

print array as a table into console.   

## Install
```
npm install printable
```

## Usage
```
/**
 * print [['helloworld', '你好'], ['hello', 'world']] =>
 * helloworld  你好
 * hello       world
 * @param  {Array} lines    source array
 * @param  {String|Number}  string border or length of space border
 * @param  {Number} max     each word max length
 * @return {String}         
 */
pt.print(lines, border, max);
```

```
var pt = require('printable');
var source = [['hello', 'world'], ['你好', '世界'], ['foo', 'bar']];
pt.print(source, ' | ');
// hello | world
// 你好  | 世界
// foo   | bar

pt.print(source, 1, 4);
//hell worl
//你好 世界
//foo  bar 
```
## License
MIT

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