@jsenv/terminal-table
Version:
69 lines (61 loc) • 2.42 kB
Markdown
# [0_basic](../../table_head.test.mjs#L224)
```js
run({})
```
# 1/2 console.log
```console
--- a ---
┌───────┬─────┬────────┐
│ name │ age │ status │
├───────┼─────┼────────┤
│ dam │ 35 │ ✅ │
│ flore │ 30 │ 🚀 │
└───────┴─────┴────────┘
--- a_rounded ---
╭───────┬─────┬────────╮
│ name │ age │ status │
├───────┼─────┼────────┤
│ dam │ 35 │ ✅ │
│ flore │ 30 │ 🚀 │
╰───────┴─────┴────────╯
--- a_double ---
┌───────┬─────┬────────┐
│ name │ age │ status │
╞═══════╪═════╪════════╡
│ dam │ 35 │ ✅ │
│ flore │ 30 │ 🚀 │
└───────┴─────┴────────┘
--- a_double_rounded ---
╭───────┬─────┬────────╮
│ name │ age │ status │
╞═══════╪═════╪════════╡
│ dam │ 35 │ ✅ │
│ flore │ 30 │ 🚀 │
╰───────┴─────┴────────╯
--- b ---
name │ age │ status
───────┼─────┼────────
dam │ 35 │ ✅
flore │ 30 │ 🚀
--- b_double ---
name │ age │ status
═══════╪═════╪════════
dam │ 35 │ ✅
flore │ 30 │ 🚀
--- product ---
┌──────┬─────────┐
│ free │ premium │
┌───────────┼──────┼─────────┤
│ feature a │ ✔ │ ✔ │
├───────────┼──────┼─────────┤
│ feature b │ ✖ │ ✔ │
└───────────┴──────┴─────────┘
```
# 2/2 return
```js
undefined
```
---
<sub>
Generated by <a href="https://github.com/jsenv/core/tree/main/packages/tooling/snapshot">@jsenv/snapshot</a>
</sub>