Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 10, 2024 via pnpm

cli-table 0.3.11

Pretty unicode tables for the CLI
Package summary
Share
1
issue
1
critical severity
license
1
2
licenses
1
N/A
1
MIT
Package created
4 Jan 2011
Version published
6 Dec 2021
Maintainers
3
Total deps
2
Direct deps
1
License
UNKNOWN

Issues

1

1 critical severity issue

critical
Recommendation: Check the package code and files for license information
via: cli-table@0.3.11
Collapse
Expand

Licenses

N/A

N/A
1 Packages, Including:
cli-table@0.3.11

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
colors@1.0.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of cli-table 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
colors1.0.387.07 kBMIT
prod

Visualizations

Frequently Asked Questions

What does cli-table do?

CLI-Table is a powerful utility tool for Node.js scripts that allows the creation and customization of tables to be viewed on the command line interface (CLI). Leveraging the power of Unicode, CLI-Table enables the production of visually appealing tables with features that include text truncation, alignment, color and background styling, column width customization, and more. Using CLI-Table, you can make data presentation in CLI much easier and more readable.

How do you use cli-table?

Using CLI-Table can be straightforward thanks to its easy-to-use API. First, you install the package using npm:

npm install cli-table

In your Node.js script, you require the package and use it like so:

var Table = require('cli-table');

var table = new Table({
    head: ['Header 1', 'Header 2'],
    colWidths: [100, 200]
});

table.push(
    ['Row 1 Column 1', 'Row 1 Column 2'],
    ['Row 2 Column 1', 'Row 2 Column 2']
);

console.log(table.toString());

CLI-Table allows for creating different types of tables like horizontal, vertical, and cross tables. You can also customize the table's styles by setting the 'chars' property to the desired shapes.

Where are the cli-table docs?

For detailed information on how to use all the features of CLI-Table, you can visit the official CLI-Table repository at https://github.com/Automattic/cli-table. From there, you can access comprehensive documentation on its API and usage examples, giving you a deeper understanding of how to fully leverage the utility for your requirements. Remember that the good practice of SEO is to refer and link back to the original source of the data.