Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MichaelOstermann/tables

Repository files navigation

tables

Highly customizable tables for CLIs and Markdown.

Minified Minzipped

A library for creating complex tables that can handle unicode, alignments, styling, truncation, borders and paddings, primarily for printing to terminals.

It exposes high-level and easy to use functions that come with some defaults, as well as low-level building blocks that you can use to completely customize every single row and column if necessary!

Examples

Installation

npm install @monstermann/tables
yarn add @monstermann/tables
pnpm add @monstermann/tables

Getting Started

import { cli } from '@monstermann/tables'
const result = cli.createTable({
 columns: ['foo', 'bar'],
 rows: [
 { foo: 'Foo', bar: 'Bar' },
 ],
})
console.log(result)

Overview

About

Highly customizable tables for CLIs and Markdown.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /