-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: add a divider option so can separate different rows #460
Comments
You can add a import { Table } from "console-table-printer";
const table = new Table();
table.addRow({ amount: 1, name: "Apple" });
table.addRow({ amount: 2, name: "Pear" });
table.addRow({ amount: 3, name: "Banana" }, { separator: true });
table.addRow({ amount: 6, name: "Total" });
table.printTable(); Produces:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey, It would be great if you could create add a divider between rows, that way we can for example add the sum of a column below each respective column and separate it with a divider. example:
you can see here that below every column I have the sum of that column. what I would like to be able to do is to add a divider, so I can separate the data visually, like I have it in my example
The text was updated successfully, but these errors were encountered: