UNPKG

@jsenv/terminal-table

Version:

37 lines (29 loc) 1.62 kB
# [0_basic](../../number_align.test.mjs#L32) ```js run({}) ``` # 1/2 console.log ```console --- number_align --- ┌──────────────────────────────────────────────┐ │ a long string to see how numbers are aligned │ ├──────────────────────────────────────────────┤ │ 1_234 │ ├──────────────────────────────────────────────┤ │ 234 │ ├──────────────────────────────────────────────┤ │ 12 │ ├──────────────────────────────────────────────┤ │ 1_234.5678 │ ├──────────────────────────────────────────────┤ │ 1_234.5 │ └──────────────────────────────────────────────┘ ``` # 2/2 return ```js undefined ``` --- <sub> Generated by <a href="https://github.com/jsenv/core/tree/main/packages/tooling/snapshot">@jsenv/snapshot</a> </sub>