Install and Quick start
Installation
- npm
- Yarn
- pnpm
npm install --save console-table-printer
yarn add console-table-printer
pnpm add console-table-printer
Basic Example
const { printTable } = require("console-table-printer");
//Create a table
const testCases = [
{ Type: "Wish", text: "I would like some gelb bananen bitte", value: 100 },
{ Type: "Hope", text: "I hope batch update is working", value: 300 },
];
//print
printTable(testCases);
Output: